Home
last modified time | relevance | path

Searched hist:d3936d7437e388f3a91995e8f07fb82affff2f0d (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpio/
H A Dgpio-exar.cdiff d3936d7437e388f3a91995e8f07fb82affff2f0d Fri Jun 09 20:33:10 CEST 2017 Jan Kiszka <jan.kiszka@siemens.com> gpio-exar/8250-exar: Fix passing in of parent PCI device

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 <andy.shevchenko@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
/linux/drivers/tty/serial/8250/
H A D8250_exar.cdiff d3936d7437e388f3a91995e8f07fb82affff2f0d Fri Jun 09 20:33:10 CEST 2017 Jan Kiszka <jan.kiszka@siemens.com> gpio-exar/8250-exar: Fix passing in of parent PCI device

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 <andy.shevchenko@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>