Skip to content

Commit

Permalink
tty: acpi/spcr: QDF2400 E44 checks for wrong OEM revision
Browse files Browse the repository at this point in the history
For Qualcomm Technologies QDF2400 SOCs that are affected by erratum E44,
the ACPI oem_revision field is actually set to 1, not 0.

Fixes: d8a4995 ("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>
  • Loading branch information
Timur Tabi authored and Greg Kroah-Hartman committed Mar 14, 2017
1 parent b15bfbe commit 542ed78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/spcr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 542ed78

Please sign in to comment.