diff options
author | Flavio Ceolin <flavio.ceolin@intel.com> | 2017-12-06 11:38:50 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-18 14:57:45 -0500 |
commit | 9392483122e8818c0bf38e82ccf01b71e0c2151e (patch) | |
tree | 8ea48bcf679385cb7558ff4c3ba3e280fe51eb8c /drivers/scsi/pmcraid.c | |
parent | 866a6eccdd998418065ff28fd280252bfa63e43c (diff) | |
download | linux-9392483122e8818c0bf38e82ccf01b71e0c2151e.tar.bz2 |
media: pxa_camera: disable and unprepare the clock source on error
pxa_camera_probe() was not calling pxa_camera_deactivate(),
responsible to call clk_disable_unprepare(), on the failure path. This
was leading to unbalancing source clock.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions