[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fec61302f82d5030976ae9026619198580b8d53a.camel@microchip.com>
Date: Tue, 5 Oct 2021 14:19:48 +0530
From: LakshmiPraveen Kopparthi <LakshmiPraveen.Kopparthi@...rochip.com>
To: Dmitry Osipenko <digetx@...il.com>, <wsa@...nel.org>,
<andriy.shevchenko@...ux.intel.com>, <treding@...dia.com>,
<mirq-linux@...e.qmqm.pl>, <s.shtylyov@....ru>,
<linux-i2c@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <UNGLinuxDriver@...rochip.com>
Subject: Re: [PATCH v1 1/2] i2c:busses:Register PCI1XXXX adapter to I2C
subsystem
On Wed, 2021-09-29 at 17:35 +0300, Dmitry Osipenko wrote:
> [Some people who received this message don't often get email from
> digetx@...il.com. Learn why this is important at
> http://aka.ms/LearnAboutSenderIdentification.]
>
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
>
> 29.09.2021 10:18, Dmitry Osipenko пишет:
> > +static void pci1xxxx_i2c_remove_pci(struct pci_dev *pdev)
> > +{
> > + struct pci1xxxx_i2c *i2c = pci_get_drvdata(pdev);
> > +
> > + pci1xxxx_i2c_shutdown(i2c);
> > + i2c_del_adapter(&i2c->adap);
>
> The order is wrong. Adapter must be removed first, then hardware can
> be
> disabled.
ok. Got it. Will change it.
>
> > +}
Powered by blists - more mailing lists