]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: hisi_sas: tidy channel interrupt handler for v3 hw
authorXiaofei Tan <tanxiaofei@huawei.com>
Wed, 18 Jul 2018 14:14:26 +0000 (22:14 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 20 Jul 2018 01:57:39 +0000 (21:57 -0400)
commitd9d51e0cf462cf12956cbc95b1fd55d90c7c9ac5
tree3784556b853006a977fedcb86e873eba6478c8fc
parent4e32b2f48427ea57743e4bdf9765076133b565ca
scsi: hisi_sas: tidy channel interrupt handler for v3 hw

The ISR of channel interrupt of v3 hw is a little long and messy. This
patch tidies it by relocating CHL_INT1 and CHL_INT2 handling to new
function separately.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c