]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: sh_mmcif: correctly report success when obtaining DMA channels
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 28 Sep 2024 09:44:54 +0000 (11:44 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 14 Oct 2024 10:40:10 +0000 (12:40 +0200)
commitd61366cd7a64468396bf4030b1974782655e94c3
tree1d79744e4ff97f72e4b42e4251ed92f1a6158ebf
parentacbf2f3c72cee8630eea4e10e599c19f042ae73d
mmc: sh_mmcif: correctly report success when obtaining DMA channels

The debug message could still report success when getting the channels
was OK but configuring them failed. This actually caused a minor detour
when debugging DMA problems, so make sure the success is only reported
when the channels are really ready-to-use.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20240928094454.3592-2-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c