diff options
Diffstat (limited to 'drivers/media/i2c/smiapp/smiapp-core.c')
-rw-r--r-- | drivers/media/i2c/smiapp/smiapp-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c index 8f9690e375bf..1891c28ca6a4 100644 --- a/drivers/media/i2c/smiapp/smiapp-core.c +++ b/drivers/media/i2c/smiapp/smiapp-core.c @@ -2709,8 +2709,6 @@ static int smiapp_suspend(struct device *dev) struct smiapp_sensor *sensor = to_smiapp_sensor(subdev); bool streaming; - BUG_ON(mutex_is_locked(&sensor->mutex)); - if (sensor->power_count == 0) return 0; |