init.qcom.usb.rc: Move the usb init sequence from post-fs to post-fs-data
USB rules with init.qcom.usb.rc are executed with "on post-fs" and it
is required that all USB modules are loaded by that time. modprobe shell
script loads all vendor modules including USB funcitonality related
modules. There is no guarantee that modprobe has completed loading all
USB modules by USB rules are executed. init.qti.kernel.rc is one which
has "on post-fs" rules which waits for modprobe to succesfully loads
all module with (wait_for_prop vendor.all.modules.ready 1). On some
platform due to this order, USB fails to enumerate USB default composition
as rules are failing to create instance of USB function driver. Fix
this issue by moving USB init sequence from post-fs to post-fs-data.
Change-Id: Iee5a552c9ad876adc6139530c8dcac39ba868a54
1 file changed