projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13967c0
)
rk2928: tps65910: fix 'pmic sleep io error'
author
kfx
<kfx@rock-chips.com>
Fri, 19 Oct 2012 08:37:28 +0000
(16:37 +0800)
committer
kfx
<kfx@rock-chips.com>
Fri, 19 Oct 2012 08:37:28 +0000
(16:37 +0800)
arch/arm/mach-rk2928/board-rk2928-sdk-tps65910.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2928/board-rk2928-sdk-tps65910.c
b/arch/arm/mach-rk2928/board-rk2928-sdk-tps65910.c
index b79c8ce8f3bb0897810b5974f3c5fed5342d0a58..d64688fff92243172999e3b480cd3b6619221aa6 100755
(executable)
--- a/
arch/arm/mach-rk2928/board-rk2928-sdk-tps65910.c
+++ b/
arch/arm/mach-rk2928/board-rk2928-sdk-tps65910.c
@@
-46,7
+46,7
@@
static int sram_gpio_init(int gpio, struct sram_gpio_data *data)
static __sramfunc void sram_gpio_set_value(struct sram_gpio_data data, uint value)
{
writel_relaxed(readl_relaxed(data.base + GPIO_SWPORTA_DDR)| (1<<data.offset),
- data.
offset
+ GPIO_SWPORTA_DDR);
+ data.
base
+ GPIO_SWPORTA_DDR);
if(value)
writel_relaxed(readl_relaxed(data.base + GPIO_SWPORTA_DR) | (1<<data.offset),
data.base + GPIO_SWPORTA_DR);