Revert "spi: cadence_qspi: Fix odd byte write issue in STIG mode"
authorPrasanth Babu Mantena <p-mantena@ti.com>
Wed, 16 Jul 2025 07:04:07 +0000 (12:34 +0530)
committerMichal Simek <michal.simek@amd.com>
Thu, 24 Jul 2025 07:04:04 +0000 (09:04 +0200)
commite6345dfc2a5c86e66cac3372152e3295cfaf1ee2
tree0f91e840c119c69a0cf78a8fdaa7c70326a7f413
parentee56866f11c9a64b15470ba7165399068818d269
Revert "spi: cadence_qspi: Fix odd byte write issue in STIG mode"

The buffer that is being used to write into the flash needs
to be handled properly with padding of 0xFF. The place that
this is done can be at a more generic place like spi-nor core.

This reverts commit cd9123507003e07b13e61d72e14e493bb338e827.

Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20250716070407.2082524-1-p-mantena@ti.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/cadence_qspi_apb.c