media: i2c: hi846: check return value of regulator_bulk_disable()
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Tue, 9 Nov 2021 13:10:12 +0000 (14:10 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 16 Dec 2021 19:54:53 +0000 (20:54 +0100)
commite1cc0a05539a115690e5d327dd1b40c15a59e19f
tree99faa6cfefddd480347bd978e93ef7044a9a75f1
parentd1d2ed5925c370ac09fa6efd39f5f569f562e5b7
media: i2c: hi846: check return value of regulator_bulk_disable()

regulator_bulk_disable can fail and thus suspend() can. Handle that error
gracefully.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/hi846.c