Re: [PATCH 1/1] spi: mediatek: add power control when set_cs

From: Mark Brown
Date: Thu Oct 24 2019 - 06:23:54 EST


On Thu, Oct 24, 2019 at 02:25:19PM +0800, luhua xu wrote:

> Spi framework provideds spi_setup() to modify spi settings for spi
> device (maybe spi is runtime idle now), and this will call
> spi_controller->set_cs() accessing registers.

OK, so fix that so it takes the power at the setup() level then.

Attachment: signature.asc
Description: PGP signature