Skip to content
Commit 99ca177a authored by Jean Delvare's avatar Jean Delvare Committed by Benjamin Herrenschmidt
Browse files

powerpc/therm_adt746x: Don't access non-existing register



The ADT746x don't have any register at sub-address 0, so better use an
existing register for the initial test read.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Cc: Colin Leroy <colin@colino.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent cd015707
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment