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:
0fd8a2c
)
rk30:wm8326:remove wm831x_last_deinit when wm8326 shutdown
author
张晴
<zhangqing@rock-chips.com>
Wed, 16 Jan 2013 03:39:00 +0000
(11:39 +0800)
committer
张晴
<zhangqing@rock-chips.com>
Wed, 16 Jan 2013 03:39:00 +0000
(11:39 +0800)
drivers/mfd/wm831x-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/wm831x-core.c
b/drivers/mfd/wm831x-core.c
index c2f293fc67a0ffae9a97063ffb6616e26f36a8a6..b94118fcec68af0c79e0bbfb4df5a2229b14ba74 100755
(executable)
--- a/
drivers/mfd/wm831x-core.c
+++ b/
drivers/mfd/wm831x-core.c
@@
-1860,13
+1860,14
@@
int wm831x_device_shutdown(struct wm831x *wm831x)
if(wm831x_set_bits(wm831x, WM831X_RTC_CONTROL, WM831X_RTC_ALAM_ENA_MASK, 0) < 0)
printk("%s wm831x_set_bits err\n", __FUNCTION__); //disable rtc alam
-
+#if 0
if (pdata && pdata->last_deinit) {
ret = pdata->last_deinit(wm831x);
if (ret != 0) {
dev_info(wm831x->dev, "last_deinit() failed: %d\n", ret);
}
}
+#endif
//if(0 == reboot_cmd_get())
if(wm831x_set_bits(wm831x, WM831X_POWER_STATE, WM831X_CHIP_ON_MASK, 0) < 0)