libata: Add helper to determine when PHY events should be ignored
authorGabriele Mazzotta <gabriele.mzt@gmail.com>
Sat, 25 Apr 2015 17:52:36 +0000 (19:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Jun 2015 06:19:58 +0000 (23:19 -0700)
commit8d850bbf3e11742927aa500a2dcd121999708246
tree06242b470a1bf49f8bbba388d3772c2009651ed1
parent566831a12ef80b9622bf8263299d859bdd35128c
libata: Add helper to determine when PHY events should be ignored

commit 8393b811f38acdf7fd8da2028708edad3e68ce1f upstream.

This is a preparation commit that will allow to add other criteria
according to which PHY events should be dropped.

Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ata/libahci.c
drivers/ata/libata-core.c
include/linux/libata.h