Hi Nikolaus,
On 10/03/2013 01:22 AM, Dr. H. Nikolaus Schaller wrote:
Hi Alexandre,
i think have traced down one problem we have to the latest patch in 3.12-rc:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/gpio/gpiolib.c?id=be1a4b13089b1e18da83a549d49163ccad3c19ba
The problem is that by this patch a desc == NULL now returns -EINVAL while
earlier it did return an -EPROBE_DEFER, which I consider the better option.
By this -EINVAL, now some dependent drivers are no longer initialized.
So I't suggest to revert that.
Adding Linus since he authored the patch.
I suppose the behavior should not change indeed. But could you specify
which use-case now returns -EINVAL instead of -EPROBE_DEFER? It is not
obvious by just looking at the patch alone.
Thanks,
Alex.
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may
contain
confidential information. Any unauthorized review, use, disclosure or
distribution
is prohibited. If you are not the intended recipient, please contact the
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html