commit | 118032be389009b07ecb5a03ffe219a89d421def | [log] [tgz] |
---|---|---|
author | Phil Elwell <phil@raspberrypi.org> | Mon Feb 12 21:13:44 2018 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Wed Feb 14 11:30:10 2018 +0100 |
tree | 06be4c283829cb1fdbca85e2a548debeb8b38c08 | |
parent | fe0e58048f005fdce315eb4d185e5c160be4ac01 [diff] |
mmc: bcm2835: Don't overwrite max frequency unconditionally The optional DT parameter max-frequency could init the max bus frequency. So take care of this, before setting the max bus frequency. Fixes: 660fc733bd74 ("mmc: bcm2835: Add new driver for the sdhost controller.") Signed-off-by: Phil Elwell <phil@raspberrypi.org> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Cc: <stable@vger.kernel.org> # 4.12+ Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>