spi: mt7621-spi: use clock frequency from clk driver
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 25 Sep 2019 09:45:23 +0000 (17:45 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 25 Oct 2019 15:20:44 +0000 (17:20 +0200)
commitf09978566b601a6377dfe56dd11da0df75ba9fd0
tree8f5e7cec0a636d81da58e51c75c19793a9afb00b
parent2d767a749725e485f62f7e97b7b309a903ac4e60
spi: mt7621-spi: use clock frequency from clk driver

This patch lets the spi driver to use clock provided by the clk driver
since the new clk-mt7628 driver provides accurate sys clock frequency.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/spi/mt7621_spi.c