Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752283AbdFTINm (ORCPT ); Tue, 20 Jun 2017 04:13:42 -0400 Received: from mail-it0-f47.google.com ([209.85.214.47]:33446 "EHLO mail-it0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbdFTINi (ORCPT ); Tue, 20 Jun 2017 04:13:38 -0400 MIME-Version: 1.0 In-Reply-To: <6f2e19cfb8bcb9acf4b042e4db716e93286862d6.1497033197.git.jan.kiszka@siemens.com> References: <6f2e19cfb8bcb9acf4b042e4db716e93286862d6.1497033197.git.jan.kiszka@siemens.com> From: Linus Walleij Date: Tue, 20 Jun 2017 10:13:36 +0200 Message-ID: Subject: Re: [PATCH v6 02/10] gpio-exar/8250-exar: Fix passing in of parent PCI device To: Jan Kiszka Cc: Alexandre Courbot , Greg Kroah-Hartman , Linux Kernel Mailing List , "linux-serial@vger.kernel.org" , "linux-gpio@vger.kernel.org" , Sudip Mukherjee , Andy Shevchenko , Sascha Weisenberger Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 797 Lines: 23 On Fri, Jun 9, 2017 at 8:33 PM, 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 > Reviewed-by: Andy Shevchenko > Acked-by: Linus Walleij > Acked-by: Greg Kroah-Hartman Patch applied to the GPIO tree so we advance this series. Patch 1 does not apply. Let's see how it goes. Yours, Linus Walleij