media: video: tegra: Fix kernel warning for AD5816
authorFrank Chen <frankc@nvidia.com>
Tue, 11 Jun 2013 19:22:45 +0000 (12:22 -0700)
committerMrutyunjay Sawant <msawant@nvidia.com>
Tue, 17 Sep 2013 05:47:29 +0000 (22:47 -0700)
commit2322ffa96ca067c582b95853b999252bda08453b
treee9dd038f48736e5f023276bcabfc27b4030f1ef0
parent552152ef66c5a07ac479f13c530ec6e05688f6ba
media: video: tegra: Fix kernel warning for AD5816

Fix unbalanced reference count for power regulator to
prevent kernel from generating warning messages.

bug 1342770

Change-Id: I2e165a205ba58b0478c5f4db3c4b3bb74fa69e07
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/258900
Reviewed-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/media/video/tegra/ad5816.c