media: atomisp: use clamp() in compute_coring()
When it needs to get a value within a certain interval, using clamp() makes the code easier to understand than min(max()). Signed-off-by:Li Zetao <lizetao1@huawei.com> Link: https://lore.kernel.org/r/20240830011752.603433-3-lizetao1@huawei.com Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Loading
Please sign in to comment