mmc: debugfs: Add a restriction to mmc debugfs clock setting
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Thu, 21 Jan 2016 12:57:51 +0000 (13:57 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:02:49 +0000 (11:02 +0100)
commite5905ff1281f0a0f5c9863c430ac1ed5faaf5707
tree30a9f4fb0e22da3d3781af18681e18fc02fea209
parent1d6ad05777c27c7e8cfb32997a78c8252b85fbb4
mmc: debugfs: Add a restriction to mmc debugfs clock setting

Clock frequency values written to an mmc host should not be less than
the minimum clock frequency which the mmc host supports.

Signed-off-by: Yuan Juntao <juntaox.yuan@intel.com>
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/debugfs.c