Commit bf9b94ab authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] drx-j: disable OOB

Just like the windows driver, disable OOB after setting the driver
version.
Acked-by: default avatarDevin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 1ad77b5c
...@@ -16676,7 +16676,6 @@ static int set_orx_nsu_aox(struct drx_demod_instance *demod, bool active) ...@@ -16676,7 +16676,6 @@ static int set_orx_nsu_aox(struct drx_demod_instance *demod, bool active)
/* Coefficients for the nyquist fitler (total: 27 taps) */ /* Coefficients for the nyquist fitler (total: 27 taps) */
#define NYQFILTERLEN 27 #define NYQFILTERLEN 27
#if 0
static int ctrl_set_oob(struct drx_demod_instance *demod, struct drxoob *oob_param) static int ctrl_set_oob(struct drx_demod_instance *demod, struct drxoob *oob_param)
{ {
int rc; int rc;
...@@ -17177,6 +17176,8 @@ static int ctrl_set_oob(struct drx_demod_instance *demod, struct drxoob *oob_par ...@@ -17177,6 +17176,8 @@ static int ctrl_set_oob(struct drx_demod_instance *demod, struct drxoob *oob_par
return -EIO; return -EIO;
} }
#if 0
/** /**
* \fn int ctrl_get_oob() * \fn int ctrl_get_oob()
* \brief Set modulation standard to be used. * \brief Set modulation standard to be used.
...@@ -20026,6 +20027,12 @@ int drxj_open(struct drx_demod_instance *demod) ...@@ -20026,6 +20027,12 @@ int drxj_open(struct drx_demod_instance *demod)
goto rw_error; goto rw_error;
} }
rc = ctrl_set_oob(demod, NULL);
if (rc != 0) {
pr_err("error %d\n", rc);
goto rw_error;
}
/* refresh the audio data structure with default */ /* refresh the audio data structure with default */
ext_attr->aud_data = drxj_default_aud_data_g; ext_attr->aud_data = drxj_default_aud_data_g;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment