From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Thu, 7 Jun 2012 00:51:58 -0700 Subject: [PATCH 04/11] ARM: OMAP2+: usb_host_fs: add custom reset for usb_host_fs (fsusb) In-Reply-To: References: <20120607060901.25532.68354.stgit@dusk> <20120607061308.25532.19767.stgit@dusk> <20120607073112.GX12766@atomide.com> Message-ID: <20120607075158.GZ12766@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Paul Walmsley [120607 00:44]: > On Thu, 7 Jun 2012, Tony Lindgren wrote: > > > Here too I think driver like features like this should live in the > > driver init for omap OHCI driver. In the likely case that FS OHCI is > > not in use on the board, the OHCI glue can just reset it. > > What if the driver is not compiled into the kernel, but instead is built > as a loadable module? You can still have a core piece of the driver that's always built in, such as omap-ohci-common. But it should live under drivers, not in the bus level code. Or you can insmod/rmmod it to reset things properly. Regards, Tony