diff options
author | Andy Green <andy@openmoko.com> | 2009-01-30 09:53:44 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-01-30 09:53:44 +0000 |
commit | 288e42c9ff4fec4beceacac9365f45eb6560ba3c (patch) | |
tree | c862d96b8f287494c93f334367d13251d1ee4eef | |
parent | 88c1918a71b934844780b217d931485c497fc6b4 (diff) |
fix-s3c6410-hsusb-platform-init.patch
Signed-off-by: Andy Green <andy@openmoko.com>
-rw-r--r-- | arch/arm/mach-s3c6410/mach-om-gta03.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-s3c6410/mach-smdk6410.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/s3c_hs_otg.c | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c6410/mach-om-gta03.c b/arch/arm/mach-s3c6410/mach-om-gta03.c index 211ae668eb0..413a823c8f7 100644 --- a/arch/arm/mach-s3c6410/mach-om-gta03.c +++ b/arch/arm/mach-s3c6410/mach-om-gta03.c @@ -71,6 +71,8 @@ #include <linux/mfd/pcf50633/gpio.h> #include <linux/mfd/pcf50633/pmic.h> +#include <plat/regs-usb-hs-otg.h> + extern struct platform_device s3c_device_usbgadget; @@ -705,7 +707,7 @@ struct platform_device gta03_device_spi_lcm = { extern void s3c64xx_init_io(struct map_desc *, int); struct s3c_plat_otg_data s3c_hs_otg_plat_data = { - .phyclk = 2, /* 12MHz osc */ + .phyclk = REF_CLK_OSCC }; diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c index 98f4a5bec77..deec6eb495a 100644 --- a/arch/arm/mach-s3c6410/mach-smdk6410.c +++ b/arch/arm/mach-s3c6410/mach-smdk6410.c @@ -183,7 +183,7 @@ static void __init smdk6410_map_io(void) } struct s3c_plat_otg_data s3c_hs_otg_plat_data = { - .phyclk = REF_CLK_OSCC | 2, /* 12MHz osc */ + .phyclk = REF_CLK_OSCC }; diff --git a/drivers/usb/gadget/s3c_hs_otg.c b/drivers/usb/gadget/s3c_hs_otg.c index dc7a4f08867..046aee52e97 100644 --- a/drivers/usb/gadget/s3c_hs_otg.c +++ b/drivers/usb/gadget/s3c_hs_otg.c @@ -38,7 +38,7 @@ static char *state_names[] = { "DATA_STATE_RECV" }; -#define S3C_USB_DBG_LEVEL 0 +#define S3C_USB_DBG_LEVEL 3 #define DBG(level, fmt, args...) do { \ if (level >= S3C_USB_DBG_LEVEL) { \ |