commit | b1a2c51a0820fce803431e6ee5bd078bb1a65b0d | [log] [tgz] |
---|---|---|
author | Anand Saminathan <anans@google.com> | Sat Sep 16 10:31:56 2023 +0000 |
committer | Anand Saminathan <anans@google.com> | Sat Sep 16 10:42:39 2023 +0000 |
tree | c8733f588574d86076e347c5508a0a21b413194e | |
parent | cc933e1d12f55f3d9efd14ae2a29c5648a3ccf08 [diff] |
fix(mmc): initialises response buffer with zeros if ops->send_cmd in mmc_send_cmd returns a non-zero value, r_data (resp_data in mmc_device_state) is never populated, so the while condition in mmc_device_state would end up reading the uninitialized resp_data buffer Signed-off-by: Anand Saminathan <anans@google.com> Change-Id: I72d752867c537d49e111e6d149c3cca122f7dc9f