media: smiapp: Put the device again if starting streaming fails
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 11 Oct 2019 09:45:22 +0000 (11:45 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 3 Jan 2020 15:38:06 +0000 (16:38 +0100)
commit22ad4e05585cb50c486b05bdaa4b4a4686074ff7
tree2f189e2c0222cbbbcbd5ea81435a9244a32ba0ee
parent96e3a6b92f23a97ca9bf3359ada1b5c773b32b7e
media: smiapp: Put the device again if starting streaming fails

If there was an error in starting streaming, put the runtime usage count
of the device.

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