Thread (1 message) 1 message, 1 author, 2018-05-25

i2c-gpio and boards conversions to GPIO descriptors

From: Simon Guinot <hidden>
Date: 2018-05-25 17:30:12
Also in: linux-gpio, linux-i2c, linux-mips

On Fri, May 25, 2018 at 05:41:44PM +0200, Simon Guinot wrote:
Hi Linus,
Forwarding to some mailing lists I missed in a first place.
I think your patch b2e63555592f "i2c: gpio: Convert to use descriptors"
may have broken i2c-gpio support for some boards using old fashion
platform_device declarations.

Indeed when an "i2c-gpio" platform_device is registered with a fixed id
e.g. 0, then I think the device name becomes "i2c-gpio.0". And then this
won't match a lookup table registered with an "i2c-gpio" dev_id.

Please double check this :)

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180525/4bcae35d/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help