clocksource/drivers/sh_cmt: Use 0x3f mask for SH_CMT_48BIT case
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 18 Sep 2017 13:46:42 +0000 (15:46 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 Oct 2017 21:48:54 +0000 (23:48 +0200)
commit464eed841f54b56df35132434497235f06b154f6
treec23f7a877f43de54912ace975c7d9313a951ebb4
parente20824e944c3bf4352fcd8d9f446c41b53901e7b
clocksource/drivers/sh_cmt: Use 0x3f mask for SH_CMT_48BIT case

Always use 0x3f as channel mask for the SH_CMT_48BIT type of devices.
Once this patch is applied the "renesas,channels-mask" property will
be ignored by the driver for older devices matching SH_CMT_48BIT. In
the future when all CMT types store channel mask in the driver then
we will be able to deprecate and remove "renesas,channels-mask" from DTS.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/sh_cmt.c