diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 18:05:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 18:05:02 -0400 |
commit | 9895850b23886e030cd1e7241d5529a57e969c3d (patch) | |
tree | 1061626db450aeb72dcfcd247c24b33e5238c8c4 /arch | |
parent | fc385c313275b114bc6ad36e60c5177d63250548 (diff) | |
parent | b58af4066d240b18b43f202e07b9ec7461d90b17 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (148 commits)
USB: serial: fix stalled writes
USB: remove fake "address-of" expressions
USB: fix thread-unsafe anchor utiliy routines
USB: usbtest: support test device with only one iso-in or iso-out endpoint
USB: usbtest: avoid to free coherent buffer in atomic context
USB: xhci: Set DMA mask for host.
USB: xhci: Don't flush doorbell writes.
USB: xhci: Reduce reads and writes of interrupter registers.
USB: xhci: Make xhci_set_hc_event_deq() static.
USB: xhci: Minimize HW event ring dequeue pointer writes.
USB: xhci: Make xhci_handle_event() static.
USB: xhci: Remove unnecessary reads of IRQ_PENDING register.
USB: xhci: Performance - move xhci_work() into xhci_irq()
USB: xhci: Performance - move interrupt handlers into xhci-ring.c
USB: xhci: Performance - move functions that find ep ring.
USB:: fix linux/usb.h kernel-doc warnings
USB: add USB serial ssu100 driver
USB: usb-storage: implement autosuspend
USB: ehci: fix remove of ehci debugfs dir
USB: Add USB 2.0 to ssb ohci driver
...
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx3/mach-armadillo5x0.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31lilly.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31lite.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31moboard.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-pcm037.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-pcm043.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31moboard-smartbot.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h | 2 |
8 files changed, 12 insertions, 10 deletions
diff --git a/arch/arm/mach-mx3/mach-armadillo5x0.c b/arch/arm/mach-mx3/mach-armadillo5x0.c index 96aadcadb4ff..68879c996a55 100644 --- a/arch/arm/mach-mx3/mach-armadillo5x0.c +++ b/arch/arm/mach-mx3/mach-armadillo5x0.c | |||
@@ -551,9 +551,9 @@ static void __init armadillo5x0_init(void) | |||
551 | /* USB */ | 551 | /* USB */ |
552 | #if defined(CONFIG_USB_ULPI) | 552 | #if defined(CONFIG_USB_ULPI) |
553 | usbotg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 553 | usbotg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
554 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 554 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
555 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 555 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
556 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 556 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
557 | 557 | ||
558 | mxc_register_device(&mxc_otg_host, &usbotg_pdata); | 558 | mxc_register_device(&mxc_otg_host, &usbotg_pdata); |
559 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); | 559 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); |
diff --git a/arch/arm/mach-mx3/mach-mx31lilly.c b/arch/arm/mach-mx3/mach-mx31lilly.c index 8f66f65e80e2..7c37daabb757 100644 --- a/arch/arm/mach-mx3/mach-mx31lilly.c +++ b/arch/arm/mach-mx3/mach-mx31lilly.c | |||
@@ -245,9 +245,9 @@ static struct mxc_usbh_platform_data usbh2_pdata = { | |||
245 | static void lilly1131_usb_init(void) | 245 | static void lilly1131_usb_init(void) |
246 | { | 246 | { |
247 | usbotg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 247 | usbotg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
248 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 248 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
249 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 249 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
250 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 250 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
251 | 251 | ||
252 | mxc_register_device(&mxc_usbh1, &usbh1_pdata); | 252 | mxc_register_device(&mxc_usbh1, &usbh1_pdata); |
253 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); | 253 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); |
diff --git a/arch/arm/mach-mx3/mach-mx31lite.c b/arch/arm/mach-mx3/mach-mx31lite.c index da236c497d2a..f66a9576d8c2 100644 --- a/arch/arm/mach-mx3/mach-mx31lite.c +++ b/arch/arm/mach-mx3/mach-mx31lite.c | |||
@@ -256,7 +256,7 @@ static void __init mxc_board_init(void) | |||
256 | #if defined(CONFIG_USB_ULPI) | 256 | #if defined(CONFIG_USB_ULPI) |
257 | /* USB */ | 257 | /* USB */ |
258 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 258 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
259 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 259 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
260 | 260 | ||
261 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); | 261 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); |
262 | #endif | 262 | #endif |
diff --git a/arch/arm/mach-mx3/mach-mx31moboard.c b/arch/arm/mach-mx3/mach-mx31moboard.c index 67776bc61c33..7a075e8bf2d4 100644 --- a/arch/arm/mach-mx3/mach-mx31moboard.c +++ b/arch/arm/mach-mx3/mach-mx31moboard.c | |||
@@ -412,7 +412,7 @@ static struct mxc_usbh_platform_data usbh2_pdata = { | |||
412 | static int __init moboard_usbh2_init(void) | 412 | static int __init moboard_usbh2_init(void) |
413 | { | 413 | { |
414 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 414 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
415 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 415 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
416 | 416 | ||
417 | return mxc_register_device(&mxc_usbh2, &usbh2_pdata); | 417 | return mxc_register_device(&mxc_usbh2, &usbh2_pdata); |
418 | } | 418 | } |
diff --git a/arch/arm/mach-mx3/mach-pcm037.c b/arch/arm/mach-mx3/mach-pcm037.c index 8a292dd1a714..214de11b20b9 100644 --- a/arch/arm/mach-mx3/mach-pcm037.c +++ b/arch/arm/mach-mx3/mach-pcm037.c | |||
@@ -654,13 +654,13 @@ static void __init mxc_board_init(void) | |||
654 | #if defined(CONFIG_USB_ULPI) | 654 | #if defined(CONFIG_USB_ULPI) |
655 | if (otg_mode_host) { | 655 | if (otg_mode_host) { |
656 | otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 656 | otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
657 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 657 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
658 | 658 | ||
659 | mxc_register_device(&mxc_otg_host, &otg_pdata); | 659 | mxc_register_device(&mxc_otg_host, &otg_pdata); |
660 | } | 660 | } |
661 | 661 | ||
662 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 662 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
663 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 663 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
664 | 664 | ||
665 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); | 665 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); |
666 | #endif | 666 | #endif |
diff --git a/arch/arm/mach-mx3/mach-pcm043.c b/arch/arm/mach-mx3/mach-pcm043.c index 47f5311b301a..28886f0e62f9 100644 --- a/arch/arm/mach-mx3/mach-pcm043.c +++ b/arch/arm/mach-mx3/mach-pcm043.c | |||
@@ -378,7 +378,7 @@ static void __init mxc_board_init(void) | |||
378 | #if defined(CONFIG_USB_ULPI) | 378 | #if defined(CONFIG_USB_ULPI) |
379 | if (otg_mode_host) { | 379 | if (otg_mode_host) { |
380 | otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 380 | otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
381 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 381 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
382 | 382 | ||
383 | mxc_register_device(&mxc_otg_host, &otg_pdata); | 383 | mxc_register_device(&mxc_otg_host, &otg_pdata); |
384 | } | 384 | } |
diff --git a/arch/arm/mach-mx3/mx31moboard-smartbot.c b/arch/arm/mach-mx3/mx31moboard-smartbot.c index 40c3e7564cb6..417757e78c65 100644 --- a/arch/arm/mach-mx3/mx31moboard-smartbot.c +++ b/arch/arm/mach-mx3/mx31moboard-smartbot.c | |||
@@ -134,7 +134,7 @@ static struct mxc_usbh_platform_data otg_host_pdata = { | |||
134 | static int __init smartbot_otg_host_init(void) | 134 | static int __init smartbot_otg_host_init(void) |
135 | { | 135 | { |
136 | otg_host_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 136 | otg_host_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
137 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 137 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
138 | 138 | ||
139 | return mxc_register_device(&mxc_otg_host, &otg_host_pdata); | 139 | return mxc_register_device(&mxc_otg_host, &otg_host_pdata); |
140 | } | 140 | } |
diff --git a/arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h b/arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h index 8d18d9d4d148..dc90f5ede88f 100644 --- a/arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h +++ b/arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h | |||
@@ -226,6 +226,7 @@ | |||
226 | 226 | ||
227 | #define S3C_DIEPMSK S3C_HSOTG_REG(0x810) | 227 | #define S3C_DIEPMSK S3C_HSOTG_REG(0x810) |
228 | 228 | ||
229 | #define S3C_DIEPMSK_TxFIFOEmpty (1 << 7) | ||
229 | #define S3C_DIEPMSK_INEPNakEffMsk (1 << 6) | 230 | #define S3C_DIEPMSK_INEPNakEffMsk (1 << 6) |
230 | #define S3C_DIEPMSK_INTknEPMisMsk (1 << 5) | 231 | #define S3C_DIEPMSK_INTknEPMisMsk (1 << 5) |
231 | #define S3C_DIEPMSK_INTknTXFEmpMsk (1 << 4) | 232 | #define S3C_DIEPMSK_INTknTXFEmpMsk (1 << 4) |
@@ -371,6 +372,7 @@ | |||
371 | 372 | ||
372 | #define S3C_DIEPDMA(_a) S3C_HSOTG_REG(0x914 + ((_a) * 0x20)) | 373 | #define S3C_DIEPDMA(_a) S3C_HSOTG_REG(0x914 + ((_a) * 0x20)) |
373 | #define S3C_DOEPDMA(_a) S3C_HSOTG_REG(0xB14 + ((_a) * 0x20)) | 374 | #define S3C_DOEPDMA(_a) S3C_HSOTG_REG(0xB14 + ((_a) * 0x20)) |
375 | #define S3C_DTXFSTS(_a) S3C_HSOTG_REG(0x918 + ((_a) * 0x20)) | ||
374 | 376 | ||
375 | #define S3C_EPFIFO(_a) S3C_HSOTG_REG(0x1000 + ((_a) * 0x1000)) | 377 | #define S3C_EPFIFO(_a) S3C_HSOTG_REG(0x1000 + ((_a) * 0x1000)) |
376 | 378 | ||