Commit 26bacba1 authored by Roger Quadros's avatar Roger Quadros Committed by Samuel Ortiz

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: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 6dbe51c2
...@@ -460,15 +460,15 @@ static void omap_usbhs_init(struct device *dev) ...@@ -460,15 +460,15 @@ static void omap_usbhs_init(struct device *dev)
switch (omap->usbhs_rev) { switch (omap->usbhs_rev) {
case OMAP_USBHS_REV1: case OMAP_USBHS_REV1:
omap_usbhs_rev1_hostconfig(omap, reg); reg = omap_usbhs_rev1_hostconfig(omap, reg);
break; break;
case OMAP_USBHS_REV2: case OMAP_USBHS_REV2:
omap_usbhs_rev2_hostconfig(omap, reg); reg = omap_usbhs_rev2_hostconfig(omap, reg);
break; break;
default: /* newer revisions */ default: /* newer revisions */
omap_usbhs_rev2_hostconfig(omap, reg); reg = omap_usbhs_rev2_hostconfig(omap, reg);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment