[RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on smbus

Darren Stevens darren at stevens-zone.net
Mon Feb 27 08:49:47 AEDT 2017


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 at stevens-zone.net>

---
Resent as it doesn't seem to have reached linux-i2c mailing list.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: i2c.patch
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20170226/70a76ca4/attachment.ksh>


More information about the Linuxppc-dev mailing list