summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-04-26 13:51:21 +0200
committerEduardo Valentin <edubezval@gmail.com>2018-05-07 01:19:05 +0200
commit3c2651349bc66e4fd5a6949199a9e95fe0088f96 (patch)
treecdd9ba5d1857a6869aae74c63785731a36a95d95 /drivers/mmc/host
parentthermal: exynos: use sanitize_temp_error() in exynos7_tmu_initialize() (diff)
downloadlinux-3c2651349bc66e4fd5a6949199a9e95fe0088f96.tar.xz
linux-3c2651349bc66e4fd5a6949199a9e95fe0088f96.zip
thermal: exynos: fix trips limit checking in get_th_reg()
of_thermal_get_ntrips() may return value bigger than supported by a given SoC (i.e. on Exynos5422/5800) so fix the code to not iterate the loop for i values >= data->ntrip. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/mmc/host')
0 files changed, 0 insertions, 0 deletions