]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0cc3fd048ff4979552c82b91b5da0fe2b6c0655b
treefbb7f7c16a9a7bfd6bc142be8b2a3da0f16d702c
parent29d07a1c9446193bceba6fc6c12b82c97226b021
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: c522fde0378c ("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