Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325166
b: refs/heads/master
c: 90cb619
h: refs/heads/master
v: v3
  • Loading branch information
Jens Taprogge authored and Greg Kroah-Hartman committed Sep 11, 2012
1 parent b2a1df5 commit 8206570
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b0f3a1bee7f321b92ffc37d8b32d1ce412a285c
refs/heads/master: 90cb61948fad898f7ac7452c68f2bec56b0e85f0
5 changes: 5 additions & 0 deletions trunk/drivers/staging/ipack/ipack.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,11 @@ struct ipack_device *ipack_device_register(struct ipack_bus_device *bus,
return NULL;
}

/* if the device supports 32 MHz operation, use it. */
ret = bus->ops->set_clockrate(dev, dev->speed_32mhz ? 32 : 8);
if (ret < 0)
dev_err(&dev->dev, "failed to perform set_clock_rate operation.\n");

ret = device_register(&dev->dev);
if (ret < 0) {
kfree(dev->id);
Expand Down

0 comments on commit 8206570

Please sign in to comment.