Re: [PATCH 3/3] drivers core: allow id match override when manually binding driver

2016-06-27 Thread Greg Kroah-Hartman
On Sun, Jun 26, 2016 at 09:07:08PM +0200, Michal Suchanek wrote: > On 26 June 2016 at 20:28, Greg Kroah-Hartman > wrote: > > On Thu, Jun 23, 2016 at 05:41:20PM -, Michal Suchanek wrote: > >> This allows binding spidev on any slave device by hand using sysfs > >> without adding superfluous com

Re: [PATCH 3/3] drivers core: allow id match override when manually binding driver

2016-06-26 Thread Michal Suchanek
On 26 June 2016 at 20:28, Greg Kroah-Hartman wrote: > On Thu, Jun 23, 2016 at 05:41:20PM -, Michal Suchanek wrote: >> This allows binding spidev on any slave device by hand using sysfs >> without adding superfluous compatibles or any other needless >> complication. >> >> Note that any slave dr

Re: [PATCH 3/3] drivers core: allow id match override when manually binding driver

2016-06-26 Thread Greg Kroah-Hartman
On Thu, Jun 23, 2016 at 05:41:20PM -, Michal Suchanek wrote: > This allows binding spidev on any slave device by hand using sysfs > without adding superfluous compatibles or any other needless > complication. > > Note that any slave driver that requires configuration will fail to > probe anywa

Re: [PATCH 3/3] drivers core: allow id match override when manually binding driver

2016-06-26 Thread Geert Uytterhoeven
Hi Michal, On Sun, Jun 26, 2016 at 8:44 AM, Michal Suchanek wrote: > The SPI bus feature-wise is closest to serial UARTs form the other > buses available in kernel. Serial uart does not even have a bus > driver. That's being worked on, as currently you can't describe the other side of the UART p

Re: [PATCH 3/3] drivers core: allow id match override when manually binding driver

2016-06-25 Thread Michal Suchanek
Hello, On 26 June 2016 at 06:14, Dan Williams wrote: > On Thu, Jun 23, 2016 at 10:41 AM, Michal Suchanek wrote: >> This allows binding spidev on any slave device by hand using sysfs >> without adding superfluous compatibles or any other needless >> complication. >> >> Note that any slave driver

Re: [PATCH 3/3] drivers core: allow id match override when manually binding driver

2016-06-25 Thread Dan Williams
On Thu, Jun 23, 2016 at 10:41 AM, Michal Suchanek wrote: > This allows binding spidev on any slave device by hand using sysfs > without adding superfluous compatibles or any other needless > complication. > > Note that any slave driver that requires configuration will fail to > probe anyway. Only

Re: [PATCH 3/3] drivers core: allow id match override when manually binding driver

2016-06-25 Thread Mark Brown
On Thu, Jun 23, 2016 at 05:41:20PM -, Michal Suchanek wrote: > This allows binding spidev on any slave device by hand using sysfs > without adding superfluous compatibles or any other needless > complication. This says "spidev" but it's a change to the driver core, not something that is speci

[PATCH 3/3] drivers core: allow id match override when manually binding driver

2016-06-24 Thread Michal Suchanek
This allows binding spidev on any slave device by hand using sysfs without adding superfluous compatibles or any other needless complication. Note that any slave driver that requires configuration will fail to probe anyway. Only a driver that binds to anything can be bound successfully. Signed-of