[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4b3d0f2cad0.58555470@auth.smtp.1and1.co.uk>
Date: Sun, 31 Dec 2017 20:53:55 +0000 (GMT)
From: Darren Stevens <darren@...vens-zone.net>
To: wsa@...-dreams.de, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
CC: linuxppc-dev@...ts.ozlabs.org
Subject: [RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on
smbus
The pasemi smbus controller uses PCI_FUNC(dev->devfn) to define which
number bus to attach to, however this fails when something else is
probed first, for example an ATI Radeon graphics card will claim 9 or
10 busses, including the ones the pasemi wants.
Patch the driver to call i2c_add_adapter rather than
i2c_add_numbered_adapter.
Signed-off-by: Darren Stevens <darren@...vens-zone.net>
---
View attachment "i2c.patch" of type "text/plain" (827 bytes)
Powered by blists - more mailing lists