]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: phy: msm: Ensure that workers are initialized before use
authorIvan T. Ivanov <ivan.ivanov@linaro.org>
Wed, 13 May 2015 12:20:12 +0000 (15:20 +0300)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 14 Jan 2016 10:51:08 +0000 (10:51 +0000)
commit1e35883ba2e05022418be4e91fb449fd67d96c76
treec7dcdf546d4ddf62f9a2ac51327fde40fad50c86
parenta92b6f28ae70d6217c5820698d0995fa74b1b521
usb: phy: msm: Ensure that workers are initialized before use

Charger detect and USB state detect workers could be triggered from
USB-HOST and USB cable detect notifiers. Ensure that workers are
initialized before driver register its interest for cable events.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
drivers/usb/phy/phy-msm-usb.c