[lkml]   [2020]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] spi: spi-geni-qcom: Don't set the cs if it was already right

On Mon, Jun 29, 2020 at 4:53 AM Mark Brown <> wrote:
> 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?


spi: Avoid setting the chip select if we don't need to

I see that you applied my patch to "spi-geni-qcom". If the patch to
the core looks OK to you and lands, I think the one for the driver can
be reverted (though it doesn't hurt).


 \ /
  Last update: 2020-06-30 01:48    [W:0.035 / U:12.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site