mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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) {
|
||||
case OMAP_USBHS_REV1:
|
||||
omap_usbhs_rev1_hostconfig(omap, reg);
|
||||
reg = omap_usbhs_rev1_hostconfig(omap, reg);
|
||||
break;
|
||||
|
||||
case OMAP_USBHS_REV2:
|
||||
omap_usbhs_rev2_hostconfig(omap, reg);
|
||||
reg = omap_usbhs_rev2_hostconfig(omap, reg);
|
||||
break;
|
||||
|
||||
default: /* newer revisions */
|
||||
omap_usbhs_rev2_hostconfig(omap, reg);
|
||||
reg = omap_usbhs_rev2_hostconfig(omap, reg);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user