On Thu, May 31, 2018 at 06:55:55AM -0500, Timur Tabi wrote:
On 5/31/18 6:53 AM, Sebastian Gottschall wrote:
i checked initially 4.9 with latest patches and 4.14 and reverted this line to get back to the old behaviour but a which view in the current 4.17 tree shows that the same patch has been included in 4.17. it was introduced in the kernel mainline on 12.feb 2018 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/dr...
I believe that this patch should not be applied to *any* stable kernel.
It completely breaks legacy GPIO numbering, and it does so intentionally. That may be okay for future kernels, but IMHO it's wrong for older kernels.
Why is it somehow ok for "future" kernels? You can't break the api in the future for no reason.
So this needs to be the same everywhere. If it is broken in 4.17-rc, it needs to be reverted.
thanks,
greg k-h