]> asedeno.scripts.mit.edu Git - linux.git/commit
media: dw9807-vcm: Fix probe error handling
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 5 Oct 2018 21:20:09 +0000 (17:20 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 8 Oct 2018 15:51:31 +0000 (11:51 -0400)
commit9e5b5081fa117ae34eca94b63b1cb6d43dc28f10
treea8607b3874cce518a2227914ef3b0b434ff33726
parent1c55ecab313321405b3cf8594df79f829f32dfaf
media: dw9807-vcm: Fix probe error handling

v4l2_async_unregister_subdev() may not be called without
v4l2_async_register_subdev() being called first. Fix this.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/dw9807-vcm.c