Re: [PATCH v2] spi: omap2-mcspi: Fix hardcoded reference clock

From: Mark Brown
Date: Tue Sep 26 2023 - 08:00:47 EST


On Tue, Sep 26, 2023 at 05:25:54PM +0530, Dhruva Gole wrote:
> On Sep 26, 2023 at 17:08:12 +0530, Vaishnav Achath wrote:

> > + ctlr->max_speed_hz = mcspi->ref_clk_hz;
> > + ctlr->min_speed_hz = mcspi->ref_clk_hz >> 15;

> nit: Can we improve on previous code by making 15 into a macro?

I'll queue this for CI now, please send an incremental fix for this
style issue with the constant.

Attachment: signature.asc
Description: PGP signature