Re: [PATCH v2 2/3] spi: Automatically attempt attach after driver_override alteration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On čtvrtek 20. září 2018 21:18:33 CEST, Trent Piepho wrote:
When driver_override is set, call device_attach() to attempt to bind to
the new driver.  Presumably, that is why driver_override was set.

This makes driver_override easier to use from udev rules to bind a
device to a new driver.

This will not unbind from an existing driver.

Signed-off-by: Trent Piepho <tpiepho@xxxxxxxxxx>

Reviewed-by: Jan Kundrát <jan.kundrat@xxxxxxxxx>
Tested-by: Jan Kundrát <jan.kundrat@xxxxxxxxx>




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux