summaryrefslogtreecommitdiffstats
path: root/drivers/clk/samsung/clk-exynos5420.c
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-02-06 19:33:11 +0100
committerTomasz Figa <t.figa@samsung.com>2014-05-14 19:23:25 +0200
commit91a1263fd2bab8704fa0a940c1ab6b813143ecc4 (patch)
tree34af239ad4929b71813aa7112db4f4b3efcd034d /drivers/clk/samsung/clk-exynos5420.c
parentd39e55e06371c1ba9d11f4a17a56a0f925d12415 (diff)
downloadblackbird-op-linux-91a1263fd2bab8704fa0a940c1ab6b813143ecc4.tar.gz
blackbird-op-linux-91a1263fd2bab8704fa0a940c1ab6b813143ecc4.zip
clk: samsung: Initialize clock table with error pointers
Before this patch, the driver was simply zeroing the clock table, which is incorrect, because invalid clock numbers returned NULL instead of error pointers. This patch fixes this by changing the driver to initialize the array with PTR_ERR(-ENOENT). Signed-off-by: Tomasz Figa <t.figa@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/clk/samsung/clk-exynos5420.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud