Re: [PATCH] gpio: tegra: Fix offset of pinctrl calls

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

 



On Tue, Feb 19, 2019 at 10:24 PM Dmitry Osipenko <digetx@xxxxxxxxx> wrote:

> This is formally a correct patch, but none of Tegra's upstream pinctrl drivers implement
> gpio_set_direction() and chip->base=0. Hence I'm not sure whether this all is really
> necessary..

The API wants a valid global GPIO number, the current code is confusing since it
sends random numbers (offsets) instead.

> or maybe you're going to implement the gpio_set_direction()?

No but since nVidia has fixed it in their outoftree codebase and it is formally
correct I don't see why we shouldn't just fix it. It may confuse someone.

Yours,
Linus Walleij



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux