ARM: OMAP2+: PRM: initialize en_uart4_mask and grpsel_uart4_mask
authorColin Ian King <colin.king@canonical.com>
Mon, 24 Oct 2016 11:00:21 +0000 (12:00 +0100)
committerTony Lindgren <tony@atomide.com>
Mon, 7 Nov 2016 23:21:53 +0000 (16:21 -0700)
commit4ae46efcff19445afbf49fe7038de6020f37fefe
treee979c7897cfabf00f537e93ee9e905ea85ba5ccf
parent271a3024db1f32ca34f504178fade6ef95cd6c9b
ARM: OMAP2+: PRM: initialize en_uart4_mask and grpsel_uart4_mask

In the case where has_uart4 is false, en_uart4_mask and grpsel_uart4_mask
are not initialized and so any garbage value is being logically or'd into
the write of PM_WKEN and OMAP3430_PM_MPUGRPSEL.  Fix this by initializing
these masks to zero.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/prm3xxx.c