Re: [PATCH 1/1] ov7251: Fix multiple problems in s_stream callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 13, 2022 at 12:47:07PM +0300, Sakari Ailus wrote:
> The s_stream callback had several issues:
> 
> - If pm_runtime_get_sync() fails, the usage_count is not put.
> 
> - The mutex wasn't unlocked and the sensor wasn't suspended if
>   s_stream(subdev, 1) failed.
> 
> Fixes: ("media: i2c: Add pm_runtime support to ov7251")

I'm squashing this to the patch it fixes for the PR.

-- 
Sakari Ailus



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux