msp3400-driver.c (b530a447bb588fdf43fdf4eb909e4ee1921d47ac) | msp3400-driver.c (2f73c7c582a685b3198b974cd6d964d0338f8ab5) |
---|---|
1/* 2 * Programming the mspx4xx sound processor family 3 * 4 * (c) 1997-2001 Gerd Knorr <kraxel@bytesex.org> 5 * 6 * what works and what doesn't: 7 * 8 * AM-Mono --- 521 unchanged lines hidden (view full) --- 530 vt->rxsubchans = state->rxsubchans; 531 } 532 vt->audmode = state->audmode; 533 vt->capability |= V4L2_TUNER_CAP_STEREO | 534 V4L2_TUNER_CAP_LANG1 | V4L2_TUNER_CAP_LANG2; 535 return 0; 536} 537 | 1/* 2 * Programming the mspx4xx sound processor family 3 * 4 * (c) 1997-2001 Gerd Knorr <kraxel@bytesex.org> 5 * 6 * what works and what doesn't: 7 * 8 * AM-Mono --- 521 unchanged lines hidden (view full) --- 530 vt->rxsubchans = state->rxsubchans; 531 } 532 vt->audmode = state->audmode; 533 vt->capability |= V4L2_TUNER_CAP_STEREO | 534 V4L2_TUNER_CAP_LANG1 | V4L2_TUNER_CAP_LANG2; 535 return 0; 536} 537 |
538static int msp_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) | 538static int msp_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) |
539{ 540 struct msp_state *state = to_state(sd); 541 struct i2c_client *client = v4l2_get_subdevdata(sd); 542 543 if (state->radio) /* TODO: add mono/stereo support for radio */ 544 return 0; 545 if (state->audmode == vt->audmode) 546 return 0; --- 381 unchanged lines hidden --- | 539{ 540 struct msp_state *state = to_state(sd); 541 struct i2c_client *client = v4l2_get_subdevdata(sd); 542 543 if (state->radio) /* TODO: add mono/stereo support for radio */ 544 return 0; 545 if (state->audmode == vt->audmode) 546 return 0; --- 381 unchanged lines hidden --- |