diff options
author | Chen Zhen <zhen1.chen@samsung.com> | 2014-04-09 20:50:46 +0800 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-04-17 11:35:27 -0700 |
commit | c2641847f1680bdcab5e850035c4e7b40db42160 (patch) | |
tree | 78d2dd5e12746e2db096a1c07a166178f32739e0 /tools/usb | |
parent | 129570387cf205fc399fea3ec7ddc44993aea4e9 (diff) | |
download | linux-3.10-c2641847f1680bdcab5e850035c4e7b40db42160.tar.gz linux-3.10-c2641847f1680bdcab5e850035c4e7b40db42160.tar.bz2 linux-3.10-c2641847f1680bdcab5e850035c4e7b40db42160.zip |
ASoC: Samsung: correct code in order to get op_clk
when i2s->op_clk is NULL we should do clk_get() before clk_get_rate() call ,
rather than calling clk_get_rate() on NULL clk, which will returns 0.
Change-Id: Ic82be597d8e4c27dd670d8d56630c3572e8f7d73
Signed-off-by: Chen Zhen <zhen1.chen@samsung.com>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions