Thread (18 messages) 18 messages, 4 authors, 2017-06-09

Re: [PATCH v5 03/11] gpio-exar/8250-exar: Fix passing in of parent PCI device

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2017-06-09 08:29:23
Also in: linux-gpio, lkml

On Fri, Jun 02, 2017 at 09:28:46AM +0200, Jan Kiszka wrote:
This fixes reloading of the GPIO driver for the same platform device
instance as created by the exar UART driver: First of all, the driver
sets drvdata to its own value during probing and does not restore the
original value on exit. But this won't help anyway as the core clears
drvdata after the driver left.

Set the platform device parent instead.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Andy Shevchenko <redacted>
Acked-by: Linus Walleij <redacted>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help