[media] V4L: sh_mobile_csi2: fix unbalanced pm_runtime_put()
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 9 Sep 2011 09:40:56 +0000 (06:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:29:00 +0000 (18:29 -0200)
commit2fbdc9bd42c993a6b179a4ddb972b551644aad6e
treef548d7481225963b38354359f4339cdca3e21b77
parent443f483aa2494b93d73ba122cafdf2ef89989ed7
[media] V4L: sh_mobile_csi2: fix unbalanced pm_runtime_put()

If the sh_mobile_csi2 driver didn't attach to a client, normally, because
the respective device connects to the SoC over the parallel CEU interface
and doesn't use the CSI-2 controller, it also shouldn't call
pm_runtime_put() on attempted disconnect.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/sh_mobile_csi2.c