Re: [PATCH 1/2] spi: Add driver_override SPI device attribute

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

 



On Wed, Sep 19, 2018 at 08:38:09AM +0200, Geert Uytterhoeven wrote:
> On Wed, Sep 19, 2018 at 12:50 AM Trent Piepho <tpiepho@xxxxxxxxxx> wrote:

> > +       /* Attach device to new driver if it's not already attached */
> > +       ret = device_attach(dev);

> This is something the other buses don't do.  Hence they require the user to
> explicitly bind the device by writing the device name to the driver's "bind"
> file in sysfs. Looks useful to have for the other buses, too.

Or if there's a good reason to require the explicit bind then we should
remove this from here so we're consistent between buses.  I guess send
patches to the other buses and see what happens?

Attachment: signature.asc
Description: PGP signature


[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