Home
last modified time | relevance | path

Searched hist:"26 f8e3a8cb81b4b8495e8e75596bc60cddf5af1e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/chipidea/
H A Dci_hdrc_msm.cdiff 26f8e3a8cb81b4b8495e8e75596bc60cddf5af1e Wed Dec 28 16:57:04 CST 2016 Stephen Boyd <stephen.boyd@linaro.org> usb: chipidea: msm: Make platform data driver local instead of global

If two devices are probed with this same driver, they'll share
the same platform data structure, while the chipidea core layer
writes and modifies it. This can lead to interesting results
especially if one device is an OTG type chipidea controller and
another is a host. Let's create a copy of this structure per each
device instance so that odd things don't happen.

Acked-by: Peter Chen <peter.chen@nxp.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>