[media] smiapp: Drop BUG_ON() in suspend path
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 13 Sep 2016 14:25:42 +0000 (11:25 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 17:24:49 +0000 (15:24 -0200)
commit88b3e311b52679a5c81af6bb0495d2c45049bb07
tree7fa75c93670e2532ea18cec4a52660e4e30c44ca
parentb08726bf2ea03d1eabf8908c70a3518fa502313b
[media] smiapp: Drop BUG_ON() in suspend path

Checking that the mutex is not acquired is unnecessary for user processes
are stopped by this point. Drop the check.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/smiapp/smiapp-core.c