msm: camera: ispif: Do not reset ispif

When ispif device is closed there is no need to reset the
hardware because on open the h/w will be reset.

CRs-Fixed: 1070583
Change-Id: If0e92e26c7a44c614536ba0178dc9f70a4260fd5
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
This commit is contained in:
Shubhraprakash Das 2016-10-03 15:08:56 -07:00
parent 015c20d6be
commit 078e09d7f4

View file

@ -1535,9 +1535,6 @@ static void msm_ispif_release(struct ispif_device *ispif)
{
BUG_ON(!ispif);
msm_ispif_reset(ispif);
msm_ispif_reset_hw(ispif);
msm_camera_enable_irq(ispif->irq, 0);
ispif->ispif_state = ISPIF_POWER_DOWN;