mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
rppx1_bls_swap_regs() gets the Bayer pattern from the acquisition module. The PRE1 path uses pre1.acq, but the PRE2 path mistakenly uses pre2.bls. The BLS module does not store a Bayer pattern, so PRE2 would read zero (RGGB) and map fixed black levels to the wrong colour registers. PRE2 is not started or dispatched yet, so the bug is currently latent. Read the pattern from pre2.acq, as the PRE1 path does, so that enabling PRE2 does not start out with the wrong register mapping. Signed-off-by: Linmao Li <lilinmao@kylinos.cn> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| rpp_module.c | ||
| rpp_module.h | ||
| rpp_params.c | ||
| rpp_stats.c | ||
| rppx1_acq.c | ||
| rppx1_awbg.c | ||
| rppx1_bd.c | ||
| rppx1_bdrgb.c | ||
| rppx1_bls.c | ||
| rppx1_cac.c | ||
| rppx1_ccor.c | ||
| rppx1_db.c | ||
| rppx1_dpcc.c | ||
| rppx1_exm.c | ||
| rppx1_ga.c | ||
| rppx1_hist.c | ||
| rppx1_hist256.c | ||
| rppx1_is.c | ||
| rppx1_lin.c | ||
| rppx1_lsc.c | ||
| rppx1_ltm.c | ||
| rppx1_ltmmeas.c | ||
| rppx1_outif.c | ||
| rppx1_outregs.c | ||
| rppx1_rmap.c | ||
| rppx1_rmapmeas.c | ||
| rppx1_shrp.c | ||
| rppx1_wbmeas.c | ||
| rppx1_xyz2luv.c | ||
| rppx1.c | ||
| rppx1.h | ||