Re: Bug in i2c-core?
From: Wolfram Sang <hidden>
Date: 2015-03-04 06:47:21
Also in:
linux-arm-kernel, linux-i2c
Attachments
- signature.asc [application/pgp-signature] 819 bytes
From: Wolfram Sang <hidden>
Date: 2015-03-04 06:47:21
Also in:
linux-arm-kernel, linux-i2c
quoted
Yes, this commit breaks all drivers using devm* for IRQ management on OF-based systemsi because devm* cleanup happens in device code, after bus's remove() method returns. I'd recommend reverting and finding a better way (making cleanup a custom devm action as well?).Ouch, my bad. Wolfram, any opinion ? The original patch fixes a real bug, so we shouldn't just revert it.
I guess the usual rules apply. Let's try to fix it for v4.0, otherwise I have to revert it.