Two fixes following Brian's review of the v2 LDB clock series:

1. select_ldb_di_clock_source() had clk0 and clk1 written to the wrong
   registers (LDB_DI1 and LDB_DI0 respectively). Silent until now
   because all callers passed the same value for both arguments.

2. The CONFIG_SPL_BUILD guard in clk-imx6q.c was too broad — it
   excluded SPL builds that legitimately need LDB clock init when
   CONFIG_SPL_VIDEO is enabled. Also adds the missing guards in
   aristainetos.c and b1x5v2.c so select_ldb_di_clock_source() is
   only called when video support is actually configured.

Md Shofiqul Islam (2):
  imx6: clock: fix clk0/clk1 swap in select_ldb_di_clock_source()
  imx6: guard LDB clock init with appropriate video config

 arch/arm/mach-imx/mx6/clock.c     | 4 ++--
 board/aristainetos/aristainetos.c | 2 ++
 board/ge/b1x5v2/b1x5v2.c          | 3 ++-
 drivers/clk/imx/clk-imx6q.c       | 6 +++---
 4 files changed, 9 insertions(+), 6 deletions(-)

-- 
2.51.1

Reply via email to