]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: atmel-mci: Set the timer per command rather than per request
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 14 Apr 2020 16:13:56 +0000 (18:13 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:21:00 +0000 (11:21 +0200)
commit61cacc21a639ec488d245c0b71abab57cefc2c5e
treee8717bf7ee73d1b0d3665a75d6b335937eda8412
parent5856ecde32aa5203218e1bb934bb27b4b1291d1c
mmc: atmel-mci: Set the timer per command rather than per request

Setting the timer on a per request basis, is rather limiting as the timer
really depends on what commands that is to be sent as part of the request.

Therefore improve the behaviour by programming the timer per command basis
instead.

Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Link: https://lore.kernel.org/r/20200414161413.3036-3-ulf.hansson@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/atmel-mci.c