Skip to content

Commit

Permalink
USB: ohci-omap: handle other omap15xx chips
Browse files Browse the repository at this point in the history
Sync up USB parts of the ohci-omap support in mainline with the OMAP tree.
This patch supports another first generation OMAP1 part: not just the
OMAP 1510 (and its catalog version, the OMAP 5910), but also OMAP 310.

From: Tony Lindgren <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
tmlind authored and gregkh committed Oct 17, 2008
1 parent 28c2c51 commit 9b466c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/host/ohci-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static int ohci_omap_init(struct usb_hcd *hcd)

omap_ohci_clock_power(1);

if (cpu_is_omap1510()) {
if (cpu_is_omap15xx()) {
omap_1510_local_bus_power(1);
omap_1510_local_bus_init();
}
Expand Down Expand Up @@ -319,7 +319,7 @@ static int usb_hcd_omap_probe (const struct hc_driver *driver,
if (IS_ERR(usb_host_ck))
return PTR_ERR(usb_host_ck);

if (!cpu_is_omap1510())
if (!cpu_is_omap15xx())
usb_dc_ck = clk_get(0, "usb_dc_ck");
else
usb_dc_ck = clk_get(0, "lb_ck");
Expand Down

0 comments on commit 9b466c3

Please sign in to comment.