aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/max1668.c
diff options
context:
space:
mode:
authorJohn Stanley2011-08-03 20:41:00 -0400
committerLinus Torvalds2011-08-06 12:02:40 -0700
commit4b00e4b3940eabb38adeec0823751820fe2d6fda (patch)
tree471cedd0c3ada2daa138c9363277a6ce7620909e /drivers/hwmon/max1668.c
parent6f76b6fcaa6025bc9b2c00e055c7ccd39730568d (diff)
savagedb: Fix typo causing regression in savage4 series video chip detection
Two additional savage4 variants were added, but the S3_SAVAGE4_SERIES macro was incompletely modified, resulting in a false positive detection of a savage4 card regardless of which savage card is actually present. For non-savage4 series cards, such as a Savage/IX-MV card, this results in garbled video and/or a hard-hang at boot time. Fix this by changing an '||' to an '&&' in the S3_SAVAGE4_SERIES macro. Signed-off-by: John P. Stanley <jpsinthemix@verizon.net> Reviewed-by: Tormod Volden <debian.tormod@gmail.com> [ The macros have incomplete parenthesis too, but whatever .. -Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/max1668.c')
0 files changed, 0 insertions, 0 deletions