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:
ece4c83
)
if 831x used i2c, cannot reboot because shutdown dcdc
author
hzf
<hzf@rock-chips.com>
Mon, 13 Feb 2012 08:52:51 +0000
(16:52 +0800)
committer
hzf
<hzf@rock-chips.com>
Mon, 13 Feb 2012 08:53:55 +0000
(16:53 +0800)
drivers/mfd/wm831x-i2c.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/wm831x-i2c.c
b/drivers/mfd/wm831x-i2c.c
index 9c840dcf1f04615bada2300defad902d00ea8552..ccf6ebc2e4b4375d34fe03214774c67d1c323424 100755
(executable)
--- a/
drivers/mfd/wm831x-i2c.c
+++ b/
drivers/mfd/wm831x-i2c.c
@@
-140,8
+140,8
@@
static int wm831x_i2c_resume(struct i2c_client *i2c)
void wm831x_i2c_shutdown(struct i2c_client *i2c)
{
struct wm831x *wm831x = i2c_get_clientdata(i2c);
-
printk("%s\n", __FUNCTION__);
-
wm831x_device_shutdown(wm831x);
+
//
printk("%s\n", __FUNCTION__);
+
//
wm831x_device_shutdown(wm831x);
}
static const struct i2c_device_id wm831x_i2c_id[] = {