]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: Move omap-usb-host usbhs init before allocing child dev
authorGovindraj.R <govindraj.raja@ti.com>
Wed, 15 Feb 2012 10:23:34 +0000 (15:53 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Mar 2012 17:46:45 +0000 (18:46 +0100)
commitf0447a690e2cfe005a605253cf6bdfa9b9fd5d6e
tree02b4c30c47fc239fbf870abd00dc0ab74f944b00
parentcbb8c220e70d25d1108db39d7956b08a66492fad
mfd: Move omap-usb-host usbhs init before allocing child dev

There could be possible race condition where the host dev's
are alloced and added to platform dev just before usbhs_init.
Just move usbhs_init before adding child dev.

CC: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/omap-usb-host.c