diff options
author | 2013-07-26 11:55:18 +0200 | |
---|---|---|
committer | 2013-07-26 14:14:09 -0700 | |
commit | 40c24f2893ba0ba7df485871f6aac0c197ceef5b (patch) | |
tree | 78cfddeb2394b1a61988e85ed592f3497d9f8b54 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | USB: mos7840: fix race in register handling (diff) | |
download | linux-dev-40c24f2893ba0ba7df485871f6aac0c197ceef5b.tar.xz linux-dev-40c24f2893ba0ba7df485871f6aac0c197ceef5b.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions