Re: [PATCH] spi: spi-geni-qcom: Don't set the cs if it was already right

From: Mark Brown
Date: Mon Jun 29 2020 - 17:31:19 EST


On Fri, Jun 26, 2020 at 03:19:50PM -0700, Douglas Anderson wrote:
> Setting the chip select on the Qualcomm geni SPI controller isn't
> exactly cheap. Let's cache the current setting and avoid setting the
> chip select if it's already right.

Seems like it'd be worth pushing this up to the core - if we're
constantly setting the same CS value then perhaps we ought to just stop
doing that?

Attachment: signature.asc
Description: PGP signature