]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/thermal/rcar_gen3_thermal.c
thermal: rcar_gen3_thermal: fix initialization sequence for H3 ES2.0
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tue, 17 Oct 2017 11:36:13 +0000 (13:36 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 1 Nov 2017 02:32:14 +0000 (19:32 -0700)
commitd668c807aa6ef3c3eef57b4e9e785ec0cfab4f6d
tree44110a20b5cc4ae254652ac2992195e916550da4
parent0cf3a1ac3e10a5920531e38cf2ae99fa1e4d45a2
thermal: rcar_gen3_thermal: fix initialization sequence for H3 ES2.0

The initialization sequence for H3 (r8a7795) ES1.x and ES2.0 is
different. H3 ES2.0 and later uses the same sequence as M3 (r8a7796)
ES1.0. Fix this by not looking at compatible strings and instead
defaulting to the r8a7796 initialization sequence and use
soc_device_match() to check for H3 ES1.x.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rcar_gen3_thermal.c