[PATCH v4 3/5] media: hi846: fix modes handling for different lane cases

Sakari Ailus sakari.ailus at linux.intel.com
Wed May 13 07:00:42 PDT 2026


Hi Pengyu,

On Mon, May 11, 2026 at 06:39:25PM +0800, Pengyu Luo wrote:
> When using 4-lane, v4l2_find_nearest_size may return an unsupported
> mode, 640x480 mode, and it is set to the default mode.

Could you use v4l2_find_nearest_size_conditional()?

Ideally we should get rid of the cur_mode field altogether.

-- 
Regards,

Sakari Ailus



More information about the linux-arm-kernel mailing list