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>
This commit is contained in:
parent
6dbe51c251
commit
26bacba15e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue