[<prev] [next>] [day] [month] [year] [list]
Message-ID: <49a70e4c93e.69f983e3@auth.smtp.1and1.co.uk>
Date: Sun, 26 Feb 2017 21:49:47 +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>
---
Resent as it doesn't seem to have reached linux-i2c mailing list.
View attachment "i2c.patch" of type "text/plain" (827 bytes)
Powered by blists - more mailing lists