12 Dec, 2009
1 commit
-
I can't see any reason why these would not be static.
Signed-off-by: Jean Delvare
Cc: David Brownell
Signed-off-by: Greg Kroah-Hartman
08 Jan, 2009
1 commit
-
The legacy i2c binding model will go away soon, convert ohci-pnx4008
to use the new binding model instead.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman
18 Oct, 2008
1 commit
-
This patch (as1145) removes the essentially useless driver-version
strings from ehci-hcd, ohci-hcd, and uhci-hcd. It also unifies the
form of the banner lines they display upon loading and adds a missing
test for usb_disabled() to ehci-hcd.Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman
22 Aug, 2008
1 commit
-
This patch (as1069c) changes the way OHCI root-hub status-change
interrupts are enabled. Currently a special HCD method,
hub_irq_enable(), is called when the hub driver is finished using a
root hub. This approach turns out to be subject to races, resulting
in unnecessary polling.The patch does away with the method entirely. Instead, the driver
automatically enables the RHSC interrupt when no more status changes
are present. This scheme is safe with controllers using
level-triggered semantics for their interrupt flags.Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman
07 Aug, 2008
3 commits
-
This just leaves include/asm-arm/plat-* to deal with.
Signed-off-by: Russell King
-
Remove includes of asm/hardware.h in addition to asm/arch/hardware.h.
Then, since asm/hardware.h only exists to include asm/arch/hardware.h,
update everything to directly include asm/arch/hardware.h and remove
asm/hardware.h.Signed-off-by: Russell King
-
There are 43 includes of asm/mach-types.h by files that don't
reference anything from that file. Remove these unnecessary
includes.Signed-off-by: Russell King
22 Jul, 2008
2 commits
-
Various cleanups and fixes to the i2c code in ohci-pnx4008:
* Delete empty isp1301_command. The i2c driver command implementation
is optional, so there's no point in providing an empty
implementation.
* Give a name to isp1301_driver. I'm surprised that i2c-core accepted
to register this driver at all. I've chosen "isp1301_pnx" as the
name, because it's not a generic ISP1301 driver (much like the
isp1301_omap driver.) We might want to make the name even more
specific (but "isp1301_ohci_pnx4008" doesn't fit.)
* The ISP1301 is definitely not a hardware monitoring device.
* Fix a memory leak on failure in isp1301_attach. If
i2c_attach_client fails, the client is not registered so
isp1301_detach is never called and the i2c_client memory is lost.
* Use strlcpy instead of strcpy.Signed-off-by: Jean Delvare
Cc: Vitaly Wool
Cc: David Brownell
Signed-off-by: Greg Kroah-Hartman -
The bus_id field is going away, use the dev_name() function instead.
Signed-off-by: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
07 Jul, 2008
1 commit
-
This reverts commit e872154921a6b5256a3c412dd69158ac0b135176.
Andrey Borzenkov reports that it resulted in a totally hung machine for
him when loading the OHCI driver. Extensive netconsole capture with
SysRq output shows that modprobe gets stuck in ohci_hub_status_data()
when probing and enabling the OHCI controller, see for examplehttp://lkml.org/lkml/2008/7/5/236
for an analysis.
The problem appears to be an interrupt flood triggered by the commit
that gets reverted, and Andrey confirmed that the revert makes things
work for him again.Reported-and-tested-by: Andrey Borzenkov
Acked-by: Alan Stern
Acked-by: David Brownell
Cc: Greg Kroah-Hartman
Signed-off-by: Linus Torvalds
25 Apr, 2008
1 commit
-
This patch (as1069b) changes the way OHCI root-hub status-change
interrupts are enabled. Currently a special HCD method,
hub_irq_enable(), is called when the hub driver is finished using a
root hub. This approach turns out to be subject to races, resulting
in unnecessary polling.The patch does away with the method entirely. Instead, the driver
automatically enables the RHSC interrupt when no more status changes
are present. This scheme is safe with controllers using
level-triggered semantics for their interrupt flags.Signed-off-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman
11 Apr, 2008
1 commit
-
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable USB HCDs,
to allow re-enable auto loading.[dbrownell@users.sourceforge.net: more drivers; registration fixes]
Signed-off-by: Kay Sievers
Signed-off-by: David Brownell
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 Jan, 2008
2 commits
-
I2C driver IDs are optional, so if you don't need one, just omit it.
Signed-off-by: Jean Delvare
-
Signed-off-by: Jean Delvare
13 Jul, 2007
1 commit
-
Remove unnecessary cast of return value of kzalloc() in
usb/host/ohci-pnx4008.cSigned-off-by: Suresh Jayaraman
Signed-off-by: Greg Kroah-Hartman
15 Feb, 2007
1 commit
-
The obsolete SA_xxx interrupt flags have been used despite the scheduled
removal. Fixup the remaining users.Signed-off-by: Thomas Gleixner
Acked-by: Ingo Molnar
Cc: "Luck, Tony"
Cc: Roman Zippel
Cc: Geert Uytterhoeven
Cc: Jeff Garzik
Cc: Wim Van Sebroeck
Cc: Roland Dreier
Cc: Alessandro Zummo
Cc: James Bottomley
Cc: Greg KH
Cc: Dave Airlie
Cc: James Simmons
Cc: "Antonino A. Daplas"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
08 Feb, 2007
1 commit
-
The previous model had the module_init & module_exit function in the
bus glue .c files themselves. That's a problem if several glues need
to be selected at once and the driver is built has module. This case
is quite common in embedded system where you want to handle both the
integrated ohci controller and some extra controller on PCI.The ohci-hcd.c file now provide the module_init & module_exit and
appropriate driver registering/unregistering is done conditionally,
using #ifdefs.Signed-off-by: Sylvain Munaut
Acked-by: David Brownell
Signed-off-by: Greg Kroah-Hartman
21 Dec, 2006
1 commit
-
This is an OHCI cleanup patch ... it removes a lot of erroneous whitespace
(space before tab, at end of line) as well as the obsolete inline changelog.Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman
08 Dec, 2006
1 commit
-
SLAB_KERNEL is an alias of GFP_KERNEL.
Signed-off-by: Christoph Lameter
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
18 Oct, 2006
1 commit
-
The OHCI bus glue for the Philips PNX chips is missing a few calls.
- Bus suspend/resume were wrongly omitted in the original submission.
- Two new calls were added since that glue was submitted:
* Root hub irq enable call
* Shutdown hook for usbcorePlus usb_bus.hcpriv has now been removed from usbcore.
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman
28 Sep, 2006
1 commit
-
inlined is the patch that adds basic support for USB OHCI controller
support for PNX4008 Philips PNX4008 ARM board. Due to HW design, it
depends on I2C driver for PNX4008 which I've recetnly posted to LKML and
i2c at lm-sensors.Signed-off-by: Vitaly Wool
Cc: David Brownell
Signed-off-by: Greg Kroah-Hartman