summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/spcr.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@codeaurora.org>2017-02-28 21:30:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-14 03:48:54 +0100
commit542ed784671d4678406c77ed6dd01593a0cdbea1 (patch)
treecc1f92d2ef0d6ae7788391ad87dfa7a5d0dcfa24 /drivers/acpi/spcr.c
parentserial: 8250_dw: Fix breakage when HAVE_CLK=n (diff)
downloadlinux-542ed784671d4678406c77ed6dd01593a0cdbea1.tar.xz
linux-542ed784671d4678406c77ed6dd01593a0cdbea1.zip
tty: acpi/spcr: QDF2400 E44 checks for wrong OEM revision
For Qualcomm Technologies QDF2400 SOCs that are affected by erratum E44, the ACPI oem_revision field is actually set to 1, not 0. Fixes: d8a4995bcea1 ("tty: pl011: Work around QDF2400 E44 stuck BUSY bit") Tested-by: Manoj Iyer <manoj.iyer@canonical.com> Signed-off-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/acpi/spcr.c')
-rw-r--r--drivers/acpi/spcr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/spcr.c b/drivers/acpi/spcr.c
index 01c94669a2b0..3afa8c1fa127 100644
--- a/drivers/acpi/spcr.c
+++ b/drivers/acpi/spcr.c
@@ -30,7 +30,7 @@ static bool qdf2400_erratum_44_present(struct acpi_table_header *h)
return true;
if (!memcmp(h->oem_table_id, "QDF2400 ", ACPI_OEM_TABLE_ID_SIZE) &&
- h->oem_revision == 0)
+ h->oem_revision == 1)
return true;
return false;