Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280795
b: refs/heads/master
c: 8ad028b
h: refs/heads/master
i:
  280793: 3531084
  280791: db85beb
v: v3
  • Loading branch information
Dave Martin authored and Greg Kroah-Hartman committed Dec 10, 2011
1 parent 6ace215 commit ef0eeaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 7fb57a019f94ea0c1290c39b8da753be155af41c
refs/heads/master: 8ad028bd973ec1ead4982e21ab0400c956aff4b5
6 changes: 3 additions & 3 deletions trunk/drivers/usb/host/isp1760-if.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ static int of_isp1760_probe(struct platform_device *dev)
int virq;
resource_size_t res_len;
int ret;
const unsigned int *prop;
unsigned int devflags = 0;
enum of_gpio_flags gpio_flags;
u32 bus_width = 0;

drvdata = kzalloc(sizeof(*drvdata), GFP_KERNEL);
if (!drvdata)
Expand Down Expand Up @@ -77,8 +77,8 @@ static int of_isp1760_probe(struct platform_device *dev)
devflags |= ISP1760_FLAG_ISP1761;

/* Some systems wire up only 16 of the 32 data lines */
prop = of_get_property(dp, "bus-width", NULL);
if (prop && *prop == 16)
of_property_read_u32(dp, "bus-width", &bus_width);
if (bus_width == 16)
devflags |= ISP1760_FLAG_BUS_WIDTH_16;

if (of_get_property(dp, "port1-otg", NULL) != NULL)
Expand Down

0 comments on commit ef0eeaa

Please sign in to comment.