ramips: fix wrong i2s clock unit from kHz to MHz
authorQin Wei <support@vocore.io>
Tue, 5 Mar 2019 01:58:55 +0000 (09:58 +0800)
committerPetr Štetiar <ynezz@true.cz>
Sun, 24 Mar 2019 00:44:24 +0000 (01:44 +0100)
commit5f40b519f3b211f440a8f96dc1ce9a1be60aa0c9
treee9b5e32415b63320e28d788ce3fb4299efbbc2cc
parent503edc913be963b7dff8973f618bd47d99ca6c73
ramips: fix wrong i2s clock unit from kHz to MHz

clk_get_rate returns the current clock rate in Hz for a clock source so
if we divide it by 1M, then we get frequency in MHz and not kHz.

Signed-off-by: Qin Wei <support@vocore.io>
[added missing commit message, and fixed author with SoB from PR message]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ramips/patches-4.14/0048-asoc-add-mt7620-support.patch