Re: [PATCH] media: i2c: Fix regulator disable balance in ov8865

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

 



Hi Sakari

On 02/02/2022 12:21, Sakari Ailus wrote:
> Hi Daniel,
>
> On Sun, Jan 30, 2022 at 09:36:21PM +0000, Daniel Scally wrote:
>> ov8865_sensor_power() disables all three of the sensor's regulators
>> on the error path, however not all of the regulators may have been
>> enabled at the time of the error, which will result in unbalanced
>> disable calls.
>>
>> Fix the issue by adding specific error paths for each regulator.
>>
>> Fixes: 11c0d8fdccc5 ("media: i2c: Add support for the OV8865 image sensor")
>>
>> Signed-off-by: Daniel Scally <djrscally@xxxxxxxxx>
> Thanks for the patch.
>
> This has been already fixed by commit
> cbe0b3af73bf72fad197756f026084404e2bcdc7 (in media tree).
>
Ah cool ok - my bad :)



[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