atomisp: display an error message if ISP power cycling fails
authorTuukka Toivonen <tuukka.toivonen@intel.com>
Wed, 29 Feb 2012 11:53:21 +0000 (13:53 +0200)
committerbuildbot <buildbot@intel.com>
Wed, 14 Mar 2012 15:49:46 +0000 (08:49 -0700)
commit9f9590fbd24c64cb5045c3198d6a4e5bd18982ba
tree23b200f92e4d18a8df270138a9c2094ed9d46a43
parent2894b83777c415fe06be050b9324426ba6963f27
atomisp: display an error message if ISP power cycling fails

BZ: 25735

AtomISP driver resets ISP by power cycling it. This patch encapsulates
the resetting into a new function which checks if the power management
functions failed, and if so, displays an error message.

Change-Id: I248fe7eeeaf8c363e09e17287a812e9aab82463c
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/37223
Reviewed-by: Shevchenko, Andriy <andriy.shevchenko@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Monroy, German <german.monroy@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_cmd.c
drivers/media/video/atomisp/atomisp_cmd.h
drivers/media/video/atomisp/atomisp_ioctl.c