[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191023151121.GC5723@sirena.co.uk>
Date: Wed, 23 Oct 2019 16:11:21 +0100
From: Mark Brown <broonie@...nel.org>
To: Luhua Xu <luhua.xu@...iatek.com>
Cc: Matthias Brugger <matthias.bgg@...il.com>,
linux-spi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
wsd_upstream@...iatek.com
Subject: Re: [PATCH 1/1] spi: mediatek: add power control when set_cs
On Wed, Oct 23, 2019 at 08:38:42AM -0400, Luhua Xu wrote:
> From: "luhua.xu" <luhua.xu@...iatek.com>
> Use runtime PM to power spi when set_cs
> As set_cs may be called from interrupt context,
> set runtime PM IRQ safe for spi.
Why might we be trying to set the chip select state while the device is
runtime idle? It seems like whatever is trying to set the chip select
should be dealing with this, not the chip select operation itself since
that's unlikely to be happening in isolation.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists