spi: intel: Fix the offset to get the 64K erase opcode
stable inclusion from stable-v5.10.156 commit 0b4d650f905cf332ef74ac95a4cd2edc4817913b category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7MCG1 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0b4d650f905cf332ef74ac95a4cd2edc4817913b -------------------------------- [ Upstream commit 6a43cd02 ] According to documentation, the 64K erase opcode is located in VSCC range [16:23] instead of [8:15]. Use the proper value to shift the mask over the correct range. Signed-off-by:Mauro Lima <mauro.lima@eclypsium.com> Reviewed-by:
Mika Westerberg <mika.westerberg@linux.intel.com> Link: https://lore.kernel.org/r/20221012152135.28353-1-mauro.lima@eclypsium.com Signed-off-by:
Mark Brown <broonie@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment