diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-07-26 11:55:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-11 18:35:21 -0700 |
commit | ed183fba4ecbc327570cd0655916cebaae918dcd (patch) | |
tree | a5bbdd41e5ef3210b6a6bd4e2aee3d7dbd720840 /lib/memory-notifier-error-inject.c | |
parent | d614a64a0193ecc3c8d19774e9143173ad11af12 (diff) |
USB: mos7840: fix device-type detection
commit 40c24f2893ba0ba7df485871f6aac0c197ceef5b upstream.
Fix race in device-type detection introduced by commit 0eafe4de ("USB:
serial: mos7840: add support for MCS7810 devices") which used a static
variable to hold the device type.
Move type detection to probe and use serial data to store the device
type.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions