Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1588408
| From | Darren Stevens <darren@stevens-zone.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on smbus |
| Date | 2017-02-26 23:00 +0100 |
| Message-ID | <tff1f-4dm-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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@stevens-zone.net> --- Resent as it doesn't seem to have reached linux-i2c mailing list.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on smbus Darren Stevens <darren@stevens-zone.net> - 2017-02-26 23:00 +0100
csiph-web