Re: [PATCH v2 02/11] media: ov8858: support 19.2 MHz clock and CHT gain setup
From: Sakari Ailus
Date: Fri Aug 28 2026 - 03:29:35 EST
Hi Andy, Maurizio,
On Thu, Aug 27, 2026 at 10:46:48PM +0300, Andy Shevchenko wrote:
> > +#define OV8858_XVCLK_FREQ_19_2MHZ (192 * HZ_PER_MHZ / 10)
You can do:
#define OV8858_XVCLK_FREQ_19_2MHZ (19.2 * HZ_PER_MHZ)
i.e. no need for a division, the compiler can handle it.
--
Regards,
Sakari Ailus