]> git.baikalelectronics.ru Git - kernel.git/commit
pm80xx: do not examine registers for iButton feature if ATTO adapter
authorBenjamin Rood <benjaminjrood@gmail.com>
Fri, 30 Oct 2015 14:53:29 +0000 (10:53 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 3 Nov 2015 04:39:35 +0000 (23:39 -0500)
commitd663f909a5e01f44abe549019939e11f712cedac
tree6759d256e8194357f1362756cf46dbe4259883d7
parent1563aff9986eb3133ddcc2d851c77962302e173f
pm80xx: do not examine registers for iButton feature if ATTO adapter

ATTO adapters do not support this feature.  If the firmware fails to be
ready, it should not check the examined registers in order to examine
the state of the feature in order to prevent undefined behavior.

Signed-off-by: Benjamin Rood <brood@attotech.com>
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm80xx_hwi.c