summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorIgor Russkikh <Igor.Russkikh@aquantia.com>2019-10-11 13:45:19 +0000
committerDavid S. Miller <davem@davemloft.net>2019-10-14 17:01:52 -0700
commit06b0d7fe7e5ff3ba4c7e265ef41135e8bcc232bb (patch)
treebe4100d49c882420aebf6597d0eadd69494b31e0 /drivers/of
parent33902b4a4227877896dd9368ac10f4ca0d100de5 (diff)
net: aquantia: temperature retrieval fix
Chip temperature is a two byte word, colocated internally with cable length data. We do all readouts from HW memory by dwords, thus we should clear extra high bytes, otherwise temperature output gets weird as soon as we attach a cable to the NIC. Fixes: 8f8940118654 ("net: aquantia: add infrastructure to readout chip temperature") Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions