thermal: rcar_gen3_thermal: Fix init value of IRQCTL register
authorHoan Nguyen An <na-hoan@jinso.co.jp>
Wed, 27 Mar 2019 09:03:18 +0000 (18:03 +0900)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 14 May 2019 14:00:24 +0000 (07:00 -0700)
commited1b1ac1425b3d4399553411f305ce12fb3a6c54
tree18cd05177ceec1c1f1ab96cc0f925e487c9bdbc3
parente52bbd2f10adf708b8a706bc8b89fbad53445c79
thermal: rcar_gen3_thermal: Fix init value of IRQCTL register

Fix setting value for IRQCTL register. We are setting the last 6 bits
of (IRQCTL) to be 1 (0x3f), this is only suitable for H3ES1.*, according
to Hardware manual values 1 are "setting prohibited" for Gen3.

Signed-off-by: Hoan Nguyen An <na-hoan@jinso.co.jp>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rcar_gen3_thermal.c