mxb.c (3eb66e91a25497065c5322b1268cbc3953642227) | mxb.c (167905540e08e37162adc24066427944f71bf7a4) |
---|---|
1/* 2 mxb - v4l2 driver for the Multimedia eXtension Board 3 4 Copyright (C) 1998-2006 Michael Hunold <michael@mihu.de> 5 6 Visit http://www.themm.net/~mihu/linux/saa7146/mxb.html 7 for further details about this card. 8 --- 385 unchanged lines hidden (view full) --- 394 mxb->cur_audinput = video_audio_connect[mxb->cur_input]; 395 mxb->cur_mute = 1; 396 397 mxb->cur_mode = V4L2_TUNER_MODE_STEREO; 398 mxb_update_audmode(mxb); 399 400 /* check if the saa7740 (aka 'sound arena module') is present 401 on the mxb. if so, we must initialize it. due to lack of | 1/* 2 mxb - v4l2 driver for the Multimedia eXtension Board 3 4 Copyright (C) 1998-2006 Michael Hunold <michael@mihu.de> 5 6 Visit http://www.themm.net/~mihu/linux/saa7146/mxb.html 7 for further details about this card. 8 --- 385 unchanged lines hidden (view full) --- 394 mxb->cur_audinput = video_audio_connect[mxb->cur_input]; 395 mxb->cur_mute = 1; 396 397 mxb->cur_mode = V4L2_TUNER_MODE_STEREO; 398 mxb_update_audmode(mxb); 399 400 /* check if the saa7740 (aka 'sound arena module') is present 401 on the mxb. if so, we must initialize it. due to lack of |
402 informations about the saa7740, the values were reverse | 402 information about the saa7740, the values were reverse |
403 engineered. */ 404 msg.addr = 0x1b; 405 msg.flags = 0; 406 msg.len = mxb_saa7740_init[0].length; 407 msg.buf = &mxb_saa7740_init[0].data[0]; 408 409 err = i2c_transfer(&mxb->i2c_adapter, &msg, 1); 410 if (err == 1) { --- 79 unchanged lines hidden (view full) --- 490 return -EINVAL; 491 492 mxb->cur_input = input; 493 494 saa7146_set_hps_source_and_sync(dev, input_port_selection[input].hps_source, 495 input_port_selection[input].hps_sync); 496 497 /* prepare switching of tea6415c and saa7111a; | 403 engineered. */ 404 msg.addr = 0x1b; 405 msg.flags = 0; 406 msg.len = mxb_saa7740_init[0].length; 407 msg.buf = &mxb_saa7740_init[0].data[0]; 408 409 err = i2c_transfer(&mxb->i2c_adapter, &msg, 1); 410 if (err == 1) { --- 79 unchanged lines hidden (view full) --- 490 return -EINVAL; 491 492 mxb->cur_input = input; 493 494 saa7146_set_hps_source_and_sync(dev, input_port_selection[input].hps_source, 495 input_port_selection[input].hps_sync); 496 497 /* prepare switching of tea6415c and saa7111a; |
498 have a look at the 'background'-file for further informations */ | 498 have a look at the 'background'-file for further information */ |
499 switch (input) { 500 case TUNER: 501 i = SAA7115_COMPOSITE0; 502 503 err = tea6415c_call(mxb, video, s_routing, 3, 17, 0); 504 505 /* connect tuner-output always to multicable */ 506 if (!err) --- 373 unchanged lines hidden --- | 499 switch (input) { 500 case TUNER: 501 i = SAA7115_COMPOSITE0; 502 503 err = tea6415c_call(mxb, video, s_routing, 3, 17, 0); 504 505 /* connect tuner-output always to multicable */ 506 if (!err) --- 373 unchanged lines hidden --- |