]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-nxp-fspi: move the register operation after the clock enable
authorHaibo Chen <haibo.chen@nxp.com>
Thu, 10 Jun 2021 09:24:33 +0000 (17:24 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Jun 2021 14:02:01 +0000 (15:02 +0100)
commitb4b90a50519140d04b79782808a51daa7a165443
tree8c4bc033dc157b85bdf0e2c7d767e4d550bc8b24
parent2a0cbf1a8b222027958f3c37d6ead9df55b76cf0
spi: spi-nxp-fspi: move the register operation after the clock enable

Move the register operation after the clock enable, otherwise system
will stuck when this driver probe.

Fixes: 0b96251b88ad ("spi: spi-nxp-fspi: fix fspi panic by unexpected interrupts")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/1623317073-25158-1-git-send-email-haibo.chen@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-nxp-fspi.c