diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-02-22 23:07:06 (GMT) |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-03-01 14:38:14 (GMT) |
commit | 71a00593ec0c2e2c1720e4041cf2926ff1d07826 (patch) | |
tree | b2ce847507a10dfc62cbdac8fb76809c6e62ac82 /drivers/nfc/pn544 | |
parent | 1678847ec93040ae8280d19c42ae0ba8a4233e6d (diff) | |
download | linux-71a00593ec0c2e2c1720e4041cf2926ff1d07826.tar.xz |
ncr5380: Dont re-enter NCR5380_select()
Calling NCR5380_select() from the abort handler causes various problems.
Firstly, it means potentially re-entering NCR5380_select(). Secondly, it
means that the lock is released, which permits the EH handlers to be
re-entered. The combination results in crashes. Don't do it.
Fixes: 8b00c3d5d40d ("ncr5380: Implement new eh_abort_handler")
Reported-and-tested-by: Michael Schmitz <schmitzmic@gmail.com>
Cc: <stable@vger.kernel.org> # 4.5
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/nfc/pn544')
0 files changed, 0 insertions, 0 deletions