reset: npcm: fix iprst2 and iprst4 setting
authorTomer Maimon <tmaimon77@gmail.com>
Thu, 22 Sep 2022 15:38:56 +0000 (18:38 +0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 22 Sep 2022 15:48:35 +0000 (17:48 +0200)
commitae358d71d4623ed0a466a7498f8ce25c7fda22d1
treefbb7f7c16a9a7bfd6bc142be8b2a3da0f16d702c
parent51fd191422d987dfd75a711aae592069ebb03ec9
reset: npcm: fix iprst2 and iprst4 setting

In NPCM8XX USB reset sequence, iprst2 register was set with iprst4 value
and iprst4 register wasn´t set.

This fix sets the correct IP reset values in iprst2 and iprst4 registers
in NPCM8XX USB reset sequence.

Fixes: fc5d2a2f4aa5 ("reset: npcm: Add NPCM8XX support")

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20220922153856.23326-1-tmaimon77@gmail.com
drivers/reset/reset-npcm.c