Searched hist:"40 c24f2893ba0ba7df485871f6aac0c197ceef5b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/serial/ |
H A D | mos7840.c | diff 40c24f2893ba0ba7df485871f6aac0c197ceef5b Fri Jul 26 04:55:18 CDT 2013 Johan Hovold <jhovold@gmail.com> USB: mos7840: fix device-type detection
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.
Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|