diff options
author | Stephen Boyd <stephen.boyd@linaro.org> | 2016-12-28 14:57:04 -0800 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2017-01-20 15:26:42 +0800 |
commit | 26f8e3a8cb81b4b8495e8e75596bc60cddf5af1e (patch) | |
tree | 24b056250c27485fc7f30e340a92850f05843ab2 /lib/llist.c | |
parent | 47654a1620818ab1da1e81ce6cdb2433ff3bb6bf (diff) | |
download | linux-26f8e3a8cb81b4b8495e8e75596bc60cddf5af1e.tar.bz2 |
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>
Diffstat (limited to 'lib/llist.c')
0 files changed, 0 insertions, 0 deletions