]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite4eaf0ba8e3e63bd10b22d52f928d202ce0a719c
tree7fa75c93670e2532ea18cec4a52660e4e30c44ca
parentb1d2deab77bd980f84ac38de9763d383915e4d61
[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