[PATCH 04/42] mmc: dw_mmc: Extract waiting for data busy into a separate routine

Quentin Schulz quentin.schulz at cherry.de
Thu May 23 16:52:27 CEST 2024


Hi Sam,

On 5/23/24 1:30 AM, Sam Protsenko wrote:
> Waiting for data busy is a logically separate operation and should be
> implemented as a separate routine. Follow Linux kernel example and
> extract it from dwmci_send_cmd(). This way it doesn't clutter
> dwmci_send_cmd() function, and can be reused later in other cases.
> 
> No functional change.
> 
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>

Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>

Thanks,
Quentin


More information about the U-Boot mailing list