]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: st_spi_fsm: Obtain and use EMI clock
authorLee Jones <lee.jones@linaro.org>
Mon, 15 Dec 2014 11:59:09 +0000 (11:59 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Jan 2015 05:08:04 +0000 (21:08 -0800)
commit70b1bf6ee44ca10d4924e43f6dd606a156a3c071
tree993d41ac3ef12db23a802fcca55c2f431181bcb1
parentc6660e567d761eb9418fae19a2528bb000eabdea
mtd: st_spi_fsm: Obtain and use EMI clock

ST's Common Clk Framework is now available. This patch ensures the FSM
makes use of it by obtaining and enabling the EMI clock. If system fails
to provide the EMI clock, we bomb out.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/st_spi_fsm.c