summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2017-12-22 17:14:08 +0100
committerEduardo Valentin <edubezval@gmail.com>2018-01-01 13:18:06 -0800
commit2ff127999289a8ed29b2dae3a15f2f484d560463 (patch)
tree98f4b30a04b2a781b1065e41a05a68ec1b8cbc2b /sound
parent8371b8a3324b4dcee2a51983a3309c5a8bc6cd3b (diff)
thermal: armada: Add support for Armada AP806
The AP806 component is integrated in the Armada 8K and 7K lines of processors. The thermal sensor sample field on the status register is a signed value. Extend armada_get_temp() and the driver structure to handle signed values. Signed-off-by: Baruch Siach <baruch@tkos.co.il> [<miquel.raynal@free-electrons.com>: Changes when applying over the previous patches, including the register names changes, also switched the coefficients values to s64 instead of unsigned long to deal with negative values and used do_div instead of the traditionnal '/'] Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com> Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions