Skip to content
Snippets Groups Projects
Commit 5c18d12c authored by Darren Stevens's avatar Darren Stevens Committed by Wolfram Sang
Browse files

i2c: 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: default avatarDarren Stevens <darren@stevens-zone.net>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 15c566fc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment