Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316890
b: refs/heads/master
c: 5b6d84b
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi committed Jun 3, 2012
1 parent 74094fa commit e39492d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 80dd1358d33e6c85018e1e1c5d78b29ac466221a
refs/heads/master: 5b6d84b78930a4fa3f8380dc0ec4ac427d620201
13 changes: 3 additions & 10 deletions trunk/drivers/usb/gadget/omap_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2800,6 +2800,9 @@ static int __init omap_udc_probe(struct platform_device *pdev)
struct clk *dc_clk = NULL;
struct clk *hhc_clk = NULL;

if (cpu_is_omap7xx())
use_dma = 0;

/* NOTE: "knows" the order of the resources! */
if (!request_mem_region(pdev->resource[0].start,
pdev->resource[0].end - pdev->resource[0].start + 1,
Expand Down Expand Up @@ -3096,16 +3099,6 @@ static struct platform_driver udc_driver = {

static int __init udc_init(void)
{
/* Disable DMA for omap7xx -- it doesn't work right. */
if (cpu_is_omap7xx())
use_dma = 0;

INFO("%s, version: " DRIVER_VERSION
#ifdef USE_ISO
" (iso)"
#endif
"%s\n", driver_desc,
use_dma ? " (dma)" : "");
return platform_driver_probe(&udc_driver, omap_udc_probe);
}
module_init(udc_init);
Expand Down

0 comments on commit e39492d

Please sign in to comment.