[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <85e51ff2-4fe8-45a2-9993-2faf4afa9665@baylibre.com>
Date: Thu, 17 Apr 2025 10:29:02 -0500
From: David Lechner <dlechner@...libre.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Mark Brown <broonie@...nel.org>, linux-spi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/2] spi: Introduce and use spi_bpw_to_bytes()
On 4/17/25 10:17 AM, Andy Shevchenko wrote:
> Recently in the discussion with David the idea of having
> a common helper popped up. The helper converts the given
> bits per word to bytes. The result will always be power-of-two
> (e.g. for 37 bits it returns 8 bytes) or 0 for 0 input.
> More details are in the respective code comment.
>
> This mini-series introduces it and replaces current users
> under drivers/spi and we expect more (and possibly some
> lurking in other subsystems).
>
> Mark, if you okay with the idea, please, make this to be
> an immutable branch or tag for others to pull.
>
> In v2:
> - improved examples in the code comment and commit message (David)
With the typos fixed:
Reviewed-by: David Lechner <dlechner@...libre.com>
Powered by blists - more mailing lists