]> git.karo-electronics.de Git - linux-beck.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)
commitfaf321b0b7fe3bfcb00ceb5192ecce9d6257dc06
tree6759d256e8194357f1362756cf46dbe4259883d7
parentc5614df7ffa74d2fcb591eb4e9008ca38f0bc8c1
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