diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-12-27 21:06:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-12-27 21:06:31 -0500 |
commit | db0665012cc9cbc0445678e3fcce102791f721ce (patch) | |
tree | ad55ca1264d13e1bbe7d0590f3cf6dca289864f5 /drivers | |
parent | 2c96961fb8176b69fac20d2ea7242180a5f49847 (diff) | |
parent | 80373d37bee562060ce4d3e5272b708e8db5d1fc (diff) |
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson:
"A smallish set of fixes that we've been sitting on for a while now,
flushing the queue here so they go in. Summary:
A handful of fixes for OMAP, i.MX, Allwinner and Tegra:
- A clock rate and a PHY setup fix for i.MX6Q/DL
- A couple of fixes for the reduced serial bus (sunxi-rsb) on
Allwinner
- UART wakeirq fix for an OMAP4 board, timer config fixes for AM43XX.
- Suspend fix for Tegra124 Chromebooks
- Fix for missing implicit include that's different between
ARM/ARM64"
* tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
ARM: tegra: Fix suspend hang on Tegra124 Chromebooks
bus: sunxi-rsb: Fix peripheral IC mapping runtime address
bus: sunxi-rsb: Fix primary PMIC mapping hardware address
ARM: dts: Fix UART wakeirq for omap4 duovero parlor
ARM: OMAP2+: AM43xx: select ARM TWD timer
ARM: OMAP2+: am43xx: enable GENERIC_CLOCKEVENTS_BROADCAST
fsl-ifc: add missing include on ARM64
ARM: dts: imx6: Fix Ethernet PHY mode on Ventana boards
ARM: dts: imx: Fix the assigned-clock mismatch issue on imx6q/dl
bus: sunxi-rsb: unlock on error in sunxi_rsb_read()
ARM: dts: sunxi: sun6i-a31s-primo81.dts: add touchscreen axis swapping property
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/bus/sunxi-rsb.c | 8 | ||||
-rw-r--r-- | drivers/memory/fsl_ifc.c | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/drivers/bus/sunxi-rsb.c b/drivers/bus/sunxi-rsb.c index 846bc29c157d..25996e256110 100644 --- a/drivers/bus/sunxi-rsb.c +++ b/drivers/bus/sunxi-rsb.c | |||
@@ -342,13 +342,13 @@ static int sunxi_rsb_read(struct sunxi_rsb *rsb, u8 rtaddr, u8 addr, | |||
342 | 342 | ||
343 | ret = _sunxi_rsb_run_xfer(rsb); | 343 | ret = _sunxi_rsb_run_xfer(rsb); |
344 | if (ret) | 344 | if (ret) |
345 | goto out; | 345 | goto unlock; |
346 | 346 | ||
347 | *buf = readl(rsb->regs + RSB_DATA); | 347 | *buf = readl(rsb->regs + RSB_DATA); |
348 | 348 | ||
349 | unlock: | ||
349 | mutex_unlock(&rsb->lock); | 350 | mutex_unlock(&rsb->lock); |
350 | 351 | ||
351 | out: | ||
352 | return ret; | 352 | return ret; |
353 | } | 353 | } |
354 | 354 | ||
@@ -527,9 +527,9 @@ static int sunxi_rsb_init_device_mode(struct sunxi_rsb *rsb) | |||
527 | */ | 527 | */ |
528 | 528 | ||
529 | static const struct sunxi_rsb_addr_map sunxi_rsb_addr_maps[] = { | 529 | static const struct sunxi_rsb_addr_map sunxi_rsb_addr_maps[] = { |
530 | { 0x3e3, 0x2d }, /* Primary PMIC: AXP223, AXP809, AXP81X, ... */ | 530 | { 0x3a3, 0x2d }, /* Primary PMIC: AXP223, AXP809, AXP81X, ... */ |
531 | { 0x745, 0x3a }, /* Secondary PMIC: AXP806, ... */ | 531 | { 0x745, 0x3a }, /* Secondary PMIC: AXP806, ... */ |
532 | { 0xe89, 0x45 }, /* Peripheral IC: AC100, ... */ | 532 | { 0xe89, 0x4e }, /* Peripheral IC: AC100, ... */ |
533 | }; | 533 | }; |
534 | 534 | ||
535 | static u8 sunxi_rsb_get_rtaddr(u16 hwaddr) | 535 | static u8 sunxi_rsb_get_rtaddr(u16 hwaddr) |
diff --git a/drivers/memory/fsl_ifc.c b/drivers/memory/fsl_ifc.c index e87459f6d686..acd1460cf787 100644 --- a/drivers/memory/fsl_ifc.c +++ b/drivers/memory/fsl_ifc.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/kernel.h> | 23 | #include <linux/kernel.h> |
24 | #include <linux/compiler.h> | 24 | #include <linux/compiler.h> |
25 | #include <linux/sched.h> | ||
25 | #include <linux/spinlock.h> | 26 | #include <linux/spinlock.h> |
26 | #include <linux/types.h> | 27 | #include <linux/types.h> |
27 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |