summaryrefslogtreecommitdiff
path: root/sound/soc/sof/intel/pci-tng.c
diff options
context:
space:
mode:
authorValentina Fernandez <valentina.fernandezalanis@microchip.com>2024-11-18 15:53:54 +0000
committerConor Dooley <conor.dooley@microchip.com>2024-12-05 15:08:51 +0000
commit48808b55b07c3cea64805267a5547f03e6452a9f (patch)
treec8f848aea813dc32685af17584d05aefdc4c0853 /sound/soc/sof/intel/pci-tng.c
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
firmware: microchip: fix UL_IAP lock check in mpfs_auto_update_state()
To verify that Auto Update is possible, the mpfs_auto_update_state() function performs a "Query Security Service Request" to the system controller. Previously, the check was performed on the first element of the response message, which was accessed using a 32-bit pointer. This caused the bitwise operation to reference incorrect data, as the response should be inspected at the byte level. Fixed this by casting the response to a u8 * pointer, ensuring the check correctly inspects the appropriate byte of the response message. Additionally, rename "UL_Auto Update" to "UL_IAP" to match the PolarFire Family System Services User Guide. Signed-off-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'sound/soc/sof/intel/pci-tng.c')
0 files changed, 0 insertions, 0 deletions