lkml.org 
[lkml]   [2019]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [BUG/PATCH 0/4] gpiolib: fix issues with legacy spi-cs-high handling
From
Date
Hi all,

> Am 31.03.2019 um 12:07 schrieb H. Nikolaus Schaller <hns@goldelico.com>:
>
> 2018-07-25 07:55:28:
>
> H. Nikolaus Schaller (4):
> DTS: GTA04: SPI / gpiolib: work around a regression that unhides a
> broken legacy handler, which makes the gta04 display inoperable
> REVERT: DTS: GTA04: SPI / gpiolib: no no no, we do not want to "fix"
> our device tree file
> gpiolib: make legacy handling for spi-cs-high optional
> gpiolib: spi-cs-high is checking the wrong node (the controller and
> not the SPI slave device)
>
> drivers/gpio/Kconfig | 8 ++++++++
> drivers/gpio/gpiolib-of.c | 8 +++++---
> 2 files changed, 13 insertions(+), 3 deletions(-)
>
> --
> 2.19.1
>

I learned just some minutes ago that a new patch for gpiolib
came through 5.1-rc3 which does fix this in almost the same way
as I proposed.

Except that it seems to check for "cs-gpios" and then disable the
legacy handling.

So we do not need to add a config option for this legacy
handling (although I'd prefer to have it anyways to remove
some dead code).

Summary: this series can now be ignored.

BR and thanks,
Nikolaus

\
 
 \ /
  Last update: 2019-04-01 18:59    [W:0.077 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site