diff options
| author | Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu> | 2025-10-12 15:17:04 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-10-17 13:30:53 +0100 |
| commit | 0743acf746a81e0460a56fd5ff847d97fa7eb370 (patch) | |
| tree | 6983523db3422ec282d450d1be42dafe20cb079c /tools/lib/python/kdoc/kdoc_files.py | |
| parent | 902c0ea18a97b1a6eeee5799cb1fd9a79ef9208e (diff) | |
spi: airoha: buffer must be 0xff-ed before writing
During writing, the entire flash page (including OOB) will be updated
with the values from the temporary buffer, so we need to fill the
untouched areas of the buffer with 0xff value to prevent accidental
data overwriting.
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20251012121707.2296160-14-mikhail.kshevetskiy@iopsys.eu
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
