summaryrefslogtreecommitdiff
path: root/block/blk-mq-sysfs.c
diff options
context:
space:
mode:
authorPrathyush K <prathyush.k@samsung.com>2014-10-21 08:06:57 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-28 15:42:43 -0200
commit643709941d152a8dee58f5ea9f9e19d3f1725722 (patch)
tree81615edffa8ea16b2737b13c71896a7c7b325ed5 /block/blk-mq-sysfs.c
parent53c51492d6e800fad07cb0fdaf68a5515ebf3058 (diff)
[media] s5p-mfc: clear 'enter_suspend' flag if suspend fails
The enter_suspend flag is set after we enter mfc suspend function but if suspend fails after that due to any reason (like hardware timeout etc), this flag must be cleared before returning an error. Otherwise, this flag never gets cleared and the MFC suspend will always return an error on subsequent tries. If clock off fails, disable hw_lock also. Signed-off-by: Prathyush K <prathyush.k@samsung.com> Signed-off-by: Kiran AVND <avnd.kiran@samsung.com> Signed-off-by: Arun Kumar K <arun.kk@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'block/blk-mq-sysfs.c')
0 files changed, 0 insertions, 0 deletions