commit | 96d9df3ef554da31c0b36c7fcdd1a6a130df17f2 | [log] [tgz] |
---|---|---|
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | Thu Sep 27 10:22:51 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Mon Oct 15 11:54:11 2012 -0700 |
tree | fffb32ae31d38173bff42f0abb4d5d457d131e48 | |
parent | 9c05cc733162f61fdeaf2a2e9847b58bd56169fa [diff] |
mx5 clocks: Fix get_periph_clk() In the case periph_clk comes from periph_apm_clk, the latter is selected by the CCM.CBCMR.periph_apm_sel mux, which can source the lp_apm clock from its input ♯2. get_periph_clk() returned 0 instead of the lp_apm clock frequency in this case. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de>