commit | 80e4e4bac70867c93c0cc4fcc085d587454e4c35 | [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 | c1477182435bc3287ca8be32c857a9ea21c94e50 [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