]> 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)
commiteb7bb91728e3477e2bd4ee85112ae9cb0bdaf57a
treee8717bf7ee73d1b0d3665a75d6b335937eda8412
parent2f3ff972efdf76621f15f501611bd3fc1b8d348c
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