mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'tegra/dma-reset-rework' into next/dt
Bringing in the tegra dma/reset framework cleanup as a base for the DT changes. * tegra/dma-reset-rework: (320 commits) spi: tegra: checking for ERR_PTR instead of NULL ASoC: tegra: update module reset list for Tegra124 clk: tegra: remove bogus PCIE_XCLK clk: tegra: remove legacy reset APIs ARM: tegra: remove legacy DMA entries from DT ARM: tegra: remove legacy clock entries from DT USB: EHCI: tegra: use reset framework Input: tegra-kbc - use reset framework serial: tegra: convert to standard DMA DT bindings serial: tegra: use reset framework spi: tegra: convert to standard DMA DT bindings spi: tegra: use reset framework staging: nvec: use reset framework i2c: tegra: use reset framework ASoC: tegra: convert to standard DMA DT bindings ASoC: tegra: allocate AHUB FIFO during probe() not startup() ASoC: tegra: call pm_runtime APIs around register accesses ASoC: tegra: use reset framework dma: tegra: register as an OF DMA controller dma: tegra: use reset framework ... Signed-off-by: Olof Johansson <[email protected]>
This commit is contained in:
commit
770039fef4
356 changed files with 8489 additions and 4794 deletions
|
|
@ -418,7 +418,7 @@ static int abx500_set_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip,
|
|||
ret = abx500_gpio_set_bits(chip,
|
||||
AB8500_GPIO_ALTFUN_REG,
|
||||
af.alt_bit1,
|
||||
!!(af.alta_val && BIT(0)));
|
||||
!!(af.alta_val & BIT(0)));
|
||||
if (ret < 0)
|
||||
goto out;
|
||||
|
||||
|
|
@ -439,7 +439,7 @@ static int abx500_set_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip,
|
|||
goto out;
|
||||
|
||||
ret = abx500_gpio_set_bits(chip, AB8500_GPIO_ALTFUN_REG,
|
||||
af.alt_bit1, !!(af.altb_val && BIT(0)));
|
||||
af.alt_bit1, !!(af.altb_val & BIT(0)));
|
||||
if (ret < 0)
|
||||
goto out;
|
||||
|
||||
|
|
@ -462,7 +462,7 @@ static int abx500_set_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip,
|
|||
goto out;
|
||||
|
||||
ret = abx500_gpio_set_bits(chip, AB8500_GPIO_ALTFUN_REG,
|
||||
af.alt_bit2, !!(af.altc_val && BIT(1)));
|
||||
af.alt_bit2, !!(af.altc_val & BIT(1)));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef PINCTRL_PINCTRL_ABx5O0_H
|
||||
#ifndef PINCTRL_PINCTRL_ABx500_H
|
||||
#define PINCTRL_PINCTRL_ABx500_H
|
||||
|
||||
/* Package definitions */
|
||||
|
|
|
|||
|
|
@ -504,6 +504,7 @@ static int rockchip_set_pull(struct rockchip_pin_bank *bank,
|
|||
data |= (3 << bit);
|
||||
break;
|
||||
default:
|
||||
spin_unlock_irqrestore(&bank->slock, flags);
|
||||
dev_err(info->dev, "unsupported pull setting %d\n",
|
||||
pull);
|
||||
return -EINVAL;
|
||||
|
|
@ -1453,8 +1454,8 @@ static int rockchip_pinctrl_probe(struct platform_device *pdev)
|
|||
if (ctrl->type == RK3188) {
|
||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 1);
|
||||
info->reg_pull = devm_ioremap_resource(&pdev->dev, res);
|
||||
if (IS_ERR(info->reg_base))
|
||||
return PTR_ERR(info->reg_base);
|
||||
if (IS_ERR(info->reg_pull))
|
||||
return PTR_ERR(info->reg_pull);
|
||||
}
|
||||
|
||||
ret = rockchip_gpiolib_register(pdev, info);
|
||||
|
|
|
|||
|
|
@ -3720,7 +3720,7 @@ static void __iomem *r8a7740_pinmux_portcr(struct sh_pfc *pfc, unsigned int pin)
|
|||
const struct r8a7740_portcr_group *group =
|
||||
&r8a7740_portcr_offsets[i];
|
||||
|
||||
if (i <= group->end_pin)
|
||||
if (pin <= group->end_pin)
|
||||
return pfc->window->virt + group->offset + pin;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2584,7 +2584,7 @@ static void __iomem *sh7372_pinmux_portcr(struct sh_pfc *pfc, unsigned int pin)
|
|||
const struct sh7372_portcr_group *group =
|
||||
&sh7372_portcr_offsets[i];
|
||||
|
||||
if (i <= group->end_pin)
|
||||
if (pin <= group->end_pin)
|
||||
return pfc->window->virt + group->offset + pin;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue