atomisp: fix runtime PM issues
authorYong Wang <yong.y.wang@intel.com>
Wed, 11 Jan 2012 06:44:24 +0000 (22:44 -0800)
committerbuildbot <buildbot@intel.com>
Thu, 16 Feb 2012 16:18:58 +0000 (08:18 -0800)
commit6249b9e6eb259f535a76797ed6ec83047b0b6c01
treeb8fba92c17059b20cfd9e6b403753662e2eff657
parent49bcc39dc2d1920ca3985d16b4a0476fddede73c
atomisp: fix runtime PM issues

BZ: 23514

Fix 'Unbalanced pm_runtime_enable' issue by removing such call from driver
as PCI core already calls it for each device. In addition, enable runtime
PM for camera by default so that it does not block PM.

Change-Id: I7f60d8a9b9330b6a324a4435d7b57ff8a78a48ab
Signed-off-by: Yong Wang <yong.y.wang@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-on: http://android.intel.com:8080/34938
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/media/video/atomisp/atomisp_v4l2.c