mirror of https://gitee.com/openkylin/linux.git
22216ec41e
The banding filter ON/OFF is controlled via bit 5 of COM8 register. It
is attempted to be enabled in ov772x_set_params() by the following line.
ret = ov772x_mask_set(client, COM8, BNDF_ON_OFF, 1);
But this unexpectedly results disabling the banding filter, because the
mask and set bits are exclusive.
On the other hand, ov772x_s_ctrl() correctly sets the bit by:
ret = ov772x_mask_set(client, COM8, BNDF_ON_OFF, BNDF_ON_OFF);
The same fix was already applied to non-soc_camera version of ov772x
driver in the commit commit
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mt9m001.c | ||
mt9t112.c | ||
mt9v022.c | ||
ov772x.c | ||
ov5642.c | ||
ov9640.c | ||
ov9640.h | ||
ov9740.c | ||
rj54n1cb0c.c | ||
tw9910.c |