Skip to content
Snippets Groups Projects
Commit 8f596e06 authored by RyanHsiao's avatar RyanHsiao Committed by Oleksii Kutuzov
Browse files

GENIO: media: i2c: max9286: Fix the chan amplitude source from DTS


The amplitude of reverse channel should be the larger of the DTS
settings and the default value (MAX9286_REV_AMP_HIGH)

Change-Id: Icb346dba8d03e56bd7e66b0c6545ec725da66ce1
Signed-off-by: default avatarRyanHsiao <ryan.hsiao@mediatek.com>
parent 76ca3aa7
No related branches found
No related tags found
1 merge request!14[UPSTREAM] Add Media-related patches from Mediatek's Release 24.0
......@@ -573,7 +573,7 @@ static int max9286_notify_bound(struct v4l2_async_notifier *notifier,
* - Disable auto-ack as communication on the control channel are now
* stable.
*/
max9286_reverse_channel_setup(priv, MAX9286_REV_AMP_HIGH);
max9286_reverse_channel_setup(priv, max(priv->init_rev_chan_mv, MAX9286_REV_AMP_HIGH));
max9286_check_config_link(priv, priv->source_mask);
max9286_configure_i2c(priv, false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment