clk: meson: check pll rate param table before using it
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 19 Jan 2018 15:55:21 +0000 (16:55 +0100)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Feb 2018 08:49:22 +0000 (09:49 +0100)
commit840e1a73ccbb2096d1286d72c18ccadd3956b0ae
tree8190cdafb15ce8202067de1b1c068c33d26d7b9f
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
clk: meson: check pll rate param table before using it

Make sure the rate param table is available before using it.
Some read-only plls don't provide it, which is ok since the
table is not used by read-only clocks. R/W clocks are supposed
to provide it, but it does not hurt check it.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/clk-pll.c