Re: [PATCH 03/10] mmc: jz4740: Use GPIO descriptor for power

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Linus,

On Mon, Nov 12, 2018 at 03:12:32PM +0100, Linus Walleij wrote:
> The power GPIO line is passed with inversion flags and all from
> the platform data. Switch to using an optional GPIO descriptor and
> use this to switch the power.
> 
> Augment the only boardfile to pass in the proper "power" descriptor
> in the GPIO descriptor machine table instead.
> 
> As the GPIO handling is now much simpler, we can cut down on some
> overhead code.
> 
> Cc: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
> Cc: linux-mips@xxxxxxxxxxxxxx
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Acked-by: Paul Burton <paul.burton@xxxxxxxx>

Thanks,
    Paul

> ---
>  .../mips/include/asm/mach-jz4740/jz4740_mmc.h |  2 -
>  arch/mips/jz4740/board-qi_lb60.c              |  6 +-
>  drivers/mmc/host/jz4740_mmc.c                 | 65 +++++--------------
>  3 files changed, 18 insertions(+), 55 deletions(-)




[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux