summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Chen <frankc@nvidia.com>2013-06-13 10:11:26 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:17:44 -0700
commitfe708d69fa8b3393101e0c9de4e31bdb6ee3f6d3 (patch)
tree88d23d01037753dd422b054975c0381144b9a41b
parent993c405a1ed3e4f199a0af0f44366c2d8b890d5f (diff)
media: video: tegra: DW9718: Fix kernel warnings
Unbalanced refernece count causes kernel to generate warning messages. This is due to disabling a regulator that has been disabled already. Bug 1305243 Bug 1327616 Change-Id: I974f6caad98856250730d2faccb1d9a9ae7c3f45 Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: http://git-master/r/248157 (cherry picked from commit 16272a2b57960fbb14258723b30fa6caa341141f) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com> Reviewed-on: http://git-master/r/250828 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Tested-by: Dan Willemsen <dwillemsen@nvidia.com>
-rw-r--r--drivers/media/video/tegra/dw9718.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/tegra/dw9718.c b/drivers/media/video/tegra/dw9718.c
index b8a5988acd71..4b4b444e9597 100644
--- a/drivers/media/video/tegra/dw9718.c
+++ b/drivers/media/video/tegra/dw9718.c
@@ -909,7 +909,6 @@ static int dw9718_probe(
if (err < 0) {
dev_err(&client->dev, "%s device not found\n",
__func__);
- dw9718_pm_wr(info, NVC_PWR_OFF);
if (info->pdata->cfg & NVC_CFG_NODEV) {
dw9718_del(info);
return -ENODEV;