projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a07dd8
)
media: dw9807-vcm: Remove redundant pm_runtime_set_suspended in remove
author
Sakari Ailus
<
[email protected]
>
Fri, 20 Jul 2018 21:04:50 +0000
(17:04 -0400)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Mon, 17 Sep 2018 18:56:28 +0000
(14:56 -0400)
The device is already suspended when it's the driver's remove function is
called. Remove redundant pm_runtime_set_suspended call.
Signed-off-by: Sakari Ailus <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/i2c/dw9807-vcm.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/dw9807-vcm.c
b/drivers/media/i2c/dw9807-vcm.c
index 8ba3920b6e2f470e2a3b514fa2e1ea2ccd3e7ff6..a532c57dc636c32df7c0f358aaa81bcc396600c5 100644
(file)
--- a/
drivers/media/i2c/dw9807-vcm.c
+++ b/
drivers/media/i2c/dw9807-vcm.c
@@
-229,7
+229,6
@@
static int dw9807_remove(struct i2c_client *client)
struct dw9807_device *dw9807_dev = sd_to_dw9807_vcm(sd);
pm_runtime_disable(&client->dev);
- pm_runtime_set_suspended(&client->dev);
dw9807_subdev_cleanup(dw9807_dev);