diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2022-10-25 09:28:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-26 09:24:32 +0100 |
commit | a9b964ed7cf91cce5fe5b90a094602b0e0fd6704 (patch) | |
tree | 9e0c4c020e3a00084c2ef9eb1bd031a17a1aeb1c /arch/x86/crypto | |
parent | f4eb68642ed35000c9ddbc23677b6a8ec155737a (diff) |
spi: intel: Use correct mask for flash and protected regions
[ Upstream commit 92a66cbf6b30eda5719fbdfb24cd15fb341bba32 ]
The flash and protected region mask is actually 0x7fff (30:16 and 14:0)
and not 0x3fff so fix this accordingly. While there use GENMASK() instead.
Cc: stable@vger.kernel.org
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/r/20221025062800.22357-1-mika.westerberg@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/x86/crypto')
0 files changed, 0 insertions, 0 deletions