Re: [PATCH v2] media: intel/ipu6: add csi2 port sanity check in notifier bound

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

 



On Wed, May 29, 2024 at 02:43:21PM +0800, bingbu.cao@xxxxxxxxx wrote:
> From: Bingbu Cao <bingbu.cao@xxxxxxxxx>
> 
> Invalid csi2 port will break the isys notifier bound ops as it is
> trying to access an invalid csi2 sub-device instance based on the
> port. It will trigger a mc warning, and it will cause the sensor
> driver to unbound an inexistent isys csi2 and crash. Adding a
> csi2 port sanity check, return error to avoid such case.
> 
> Signed-off-by: Bingbu Cao <bingbu.cao@xxxxxxxxx>

Thanks, Bingbu!

Both applied, this one got:

Fixes: f50c4ca0a820 ("media: intel/ipu6: add the main input system driver")

-- 
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