summaryrefslogtreecommitdiff
path: root/drivers/clk/clk_rk3288.c
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-06-29 19:46:16 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2016-07-12 14:28:47 +0900
commitce757b18fb1ef21de2fd446031f4ad2a554dc1fb (patch)
treefe8ccd53ca003e52387e02ac56f523cccb08b75f /drivers/clk/clk_rk3288.c
parentf565ea59cbc040bae1d5b49912ba93a2f836ba11 (diff)
mmc: exynos_dw_mmc: add the error control for checking index
PERIPH_ID_SDMMC4(131) is not continous value with PERIPH_ID_SDMMC0(75). If there is no 'index' property in fdt, then dev_index should be assigned to dev_id(Peripheral ID). At this time, dev_index should be "56". It means Exynos SoC has "56" numbers of DWMMC IP. To prevent this behavior, it needs to check the maximum device index. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/clk/clk_rk3288.c')
0 files changed, 0 insertions, 0 deletions