diff options
| author | Roger Quadros <rogerq@ti.com> | 2013-02-27 08:19:24 -0500 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-12 04:07:27 -0400 |
| commit | 26bacba15ea849b61ae58d30a560b1f28a16d3a2 (patch) | |
| tree | 629b39048f7851120bac3b2ee64bd382c15e8004 /drivers | |
| parent | 6dbe51c251a327e012439c4772097a13df43c5b8 (diff) | |
mfd: omap-usb-host: Actually update hostconfig
The helper functions omap_usbhs_rev1_hostconfig()
and omap_usbhs_rev2_hostconfig() don't write into
the hostconfig register. Make sure that we write
the return value into the hostconfig register.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mfd/omap-usb-host.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 6b5edf64de2b..4febc5c7fdee 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c | |||
| @@ -460,15 +460,15 @@ static void omap_usbhs_init(struct device *dev) | |||
| 460 | 460 | ||
| 461 | switch (omap->usbhs_rev) { | 461 | switch (omap->usbhs_rev) { |
| 462 | case OMAP_USBHS_REV1: | 462 | case OMAP_USBHS_REV1: |
| 463 | omap_usbhs_rev1_hostconfig(omap, reg); | 463 | reg = omap_usbhs_rev1_hostconfig(omap, reg); |
| 464 | break; | 464 | break; |
| 465 | 465 | ||
| 466 | case OMAP_USBHS_REV2: | 466 | case OMAP_USBHS_REV2: |
| 467 | omap_usbhs_rev2_hostconfig(omap, reg); | 467 | reg = omap_usbhs_rev2_hostconfig(omap, reg); |
| 468 | break; | 468 | break; |
| 469 | 469 | ||
| 470 | default: /* newer revisions */ | 470 | default: /* newer revisions */ |
| 471 | omap_usbhs_rev2_hostconfig(omap, reg); | 471 | reg = omap_usbhs_rev2_hostconfig(omap, reg); |
| 472 | break; | 472 | break; |
| 473 | } | 473 | } |
| 474 | 474 | ||
