imx6: fix LDB clock source selection bugs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | imx6: clock: fix clk0/clk1 swap in select_ldb_di_clock_source()arch/ | +2 | 0 replies | |
| 2/2 | imx6: guard LDB clock init with appropriate video configboard/ board/ drivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] imx6: fix LDB clock source selection bugs
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(-)
Signature · 1 line
2.51.1