Commit 96bec7dd authored by Tomas Winkler's avatar Tomas Winkler Committed by Mauro Carvalho Chehab

[media] easycap: add easycap prefix to global functions names

Add easycap prefix to global function to reduce
possibility of name collision.
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a5b6ee06
...@@ -463,13 +463,16 @@ struct easycap { ...@@ -463,13 +463,16 @@ struct easycap {
* VIDEO FUNCTION PROTOTYPES * VIDEO FUNCTION PROTOTYPES
*/ */
/*^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/ /*^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
int easycap_newinput(struct easycap *, int);
void easycap_testcard(struct easycap *, int);
int easycap_isdongle(struct easycap *);
long easycap_unlocked_ioctl(struct file *, unsigned int, unsigned long); long easycap_unlocked_ioctl(struct file *, unsigned int, unsigned long);
int easycap_dqbuf(struct easycap *, int);
int submit_video_urbs(struct easycap *); int easycap_video_dqbuf(struct easycap *, int);
int easycap_video_submit_urbs(struct easycap *);
int easycap_video_kill_urbs(struct easycap *); int easycap_video_kill_urbs(struct easycap *);
void easycap_testcard(struct easycap *, int); int easycap_video_fillin_formats(void);
int fillin_formats(void);
int newinput(struct easycap *, int);
int adjust_standard(struct easycap *, v4l2_std_id); int adjust_standard(struct easycap *, v4l2_std_id);
int adjust_format(struct easycap *, u32, u32, u32, int, bool); int adjust_format(struct easycap *, u32, u32, u32, int, bool);
...@@ -485,15 +488,15 @@ int adjust_hue(struct easycap *, int); ...@@ -485,15 +488,15 @@ int adjust_hue(struct easycap *, int);
int easycap_alsa_probe(struct easycap *); int easycap_alsa_probe(struct easycap *);
int easycap_audio_kill_urbs(struct easycap *); int easycap_audio_kill_urbs(struct easycap *);
void easycap_alsa_complete(struct urb *); void easycap_alsa_complete(struct urb *);
int audio_setup(struct easycap *);
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/* /*
* LOW-LEVEL FUNCTION PROTOTYPES * LOW-LEVEL FUNCTION PROTOTYPES
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
int audio_gainset(struct usb_device *, s8); int easycap_audio_gainset(struct usb_device *, s8);
int easycap_audio_setup(struct easycap *);
int wakeup_device(struct usb_device *); int easycap_wakeup_device(struct usb_device *);
int setup_stk(struct usb_device *, bool); int setup_stk(struct usb_device *, bool);
int setup_saa(struct usb_device *, bool); int setup_saa(struct usb_device *, bool);
...@@ -507,7 +510,6 @@ int read_saa(struct usb_device *, u16); ...@@ -507,7 +510,6 @@ int read_saa(struct usb_device *, u16);
int write_saa(struct usb_device *, u16, u16); int write_saa(struct usb_device *, u16, u16);
int start_100(struct usb_device *); int start_100(struct usb_device *);
int stop_100(struct usb_device *); int stop_100(struct usb_device *);
int isdongle(struct easycap *);
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
......
...@@ -330,7 +330,7 @@ int adjust_standard(struct easycap *peasycap, v4l2_std_id std_id) ...@@ -330,7 +330,7 @@ int adjust_standard(struct easycap *peasycap, v4l2_std_id std_id)
"from 0x%02X to 0x%02X\n", reg, itwas, isnow); "from 0x%02X to 0x%02X\n", reg, itwas, isnow);
} }
if (resubmit) if (resubmit)
submit_video_urbs(peasycap); easycap_video_submit_urbs(peasycap);
return 0; return 0;
} }
/*****************************************************************************/ /*****************************************************************************/
...@@ -621,7 +621,7 @@ int adjust_format(struct easycap *peasycap, ...@@ -621,7 +621,7 @@ int adjust_format(struct easycap *peasycap,
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
if (resubmit) if (resubmit)
submit_video_urbs(peasycap); easycap_video_submit_urbs(peasycap);
return peasycap_best_format - easycap_format; return peasycap_best_format - easycap_format;
} }
...@@ -879,7 +879,7 @@ static int adjust_volume(struct easycap *peasycap, int value) ...@@ -879,7 +879,7 @@ static int adjust_volume(struct easycap *peasycap, int value)
mood = (16 > peasycap->volume) ? 16 : mood = (16 > peasycap->volume) ? 16 :
((31 < peasycap->volume) ? 31 : ((31 < peasycap->volume) ? 31 :
(s8) peasycap->volume); (s8) peasycap->volume);
if (!audio_gainset(peasycap->pusb_device, mood)) { if (!easycap_audio_gainset(peasycap->pusb_device, mood)) {
SAM("WARNING: failed to adjust volume to " SAM("WARNING: failed to adjust volume to "
"0x%2X\n", mood); "0x%2X\n", mood);
return -ENOENT; return -ENOENT;
...@@ -963,7 +963,7 @@ long easycap_unlocked_ioctl(struct file *file, ...@@ -963,7 +963,7 @@ long easycap_unlocked_ioctl(struct file *file,
SAM("ERROR: peasycap->pusb_device is NULL\n"); SAM("ERROR: peasycap->pusb_device is NULL\n");
return -EFAULT; return -EFAULT;
} }
kd = isdongle(peasycap); kd = easycap_isdongle(peasycap);
if (0 <= kd && DONGLE_MANY > kd) { if (0 <= kd && DONGLE_MANY > kd) {
if (mutex_lock_interruptible(&easycapdc60_dongle[kd].mutex_video)) { if (mutex_lock_interruptible(&easycapdc60_dongle[kd].mutex_video)) {
SAY("ERROR: cannot lock " SAY("ERROR: cannot lock "
...@@ -978,7 +978,7 @@ long easycap_unlocked_ioctl(struct file *file, ...@@ -978,7 +978,7 @@ long easycap_unlocked_ioctl(struct file *file,
* IF NECESSARY, BAIL OUT. * IF NECESSARY, BAIL OUT.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
if (kd != isdongle(peasycap)) if (kd != easycap_isdongle(peasycap))
return -ERESTARTSYS; return -ERESTARTSYS;
if (!file) { if (!file) {
SAY("ERROR: file is NULL\n"); SAY("ERROR: file is NULL\n");
...@@ -1218,7 +1218,7 @@ long easycap_unlocked_ioctl(struct file *file, ...@@ -1218,7 +1218,7 @@ long easycap_unlocked_ioctl(struct file *file,
return -EINVAL; return -EINVAL;
} }
rc = newinput(peasycap, (int)index); rc = easycap_newinput(peasycap, (int)index);
if (0 == rc) { if (0 == rc) {
JOM(8, "newinput(.,%i) OK\n", (int)index); JOM(8, "newinput(.,%i) OK\n", (int)index);
} else { } else {
...@@ -2201,7 +2201,7 @@ long easycap_unlocked_ioctl(struct file *file, ...@@ -2201,7 +2201,7 @@ long easycap_unlocked_ioctl(struct file *file,
if (!peasycap->polled) { if (!peasycap->polled) {
do { do {
rcdq = easycap_dqbuf(peasycap, 0); rcdq = easycap_video_dqbuf(peasycap, 0);
if (-EIO == rcdq) { if (-EIO == rcdq) {
JOM(8, "returning -EIO because " JOM(8, "returning -EIO because "
"dqbuf() returned -EIO\n"); "dqbuf() returned -EIO\n");
...@@ -2305,7 +2305,7 @@ long easycap_unlocked_ioctl(struct file *file, ...@@ -2305,7 +2305,7 @@ long easycap_unlocked_ioctl(struct file *file,
mutex_unlock(&easycapdc60_dongle[kd].mutex_video); mutex_unlock(&easycapdc60_dongle[kd].mutex_video);
return -EFAULT; return -EFAULT;
} }
submit_video_urbs(peasycap); easycap_video_submit_urbs(peasycap);
peasycap->video_idle = 0; peasycap->video_idle = 0;
peasycap->audio_idle = 0; peasycap->audio_idle = 0;
peasycap->video_eof = 0; peasycap->video_eof = 0;
......
...@@ -724,10 +724,11 @@ int stop_100(struct usb_device *p) ...@@ -724,10 +724,11 @@ int stop_100(struct usb_device *p)
/****************************************************************************/ /****************************************************************************/
/****************************************************************************/ /****************************************************************************/
/*****************************************************************************/ /*****************************************************************************/
int wakeup_device(struct usb_device *pusb_device) int easycap_wakeup_device(struct usb_device *pusb_device)
{ {
if (!pusb_device) if (!pusb_device)
return -ENODEV; return -ENODEV;
return usb_control_msg(pusb_device, usb_sndctrlpipe(pusb_device, 0), return usb_control_msg(pusb_device, usb_sndctrlpipe(pusb_device, 0),
USB_REQ_SET_FEATURE, USB_REQ_SET_FEATURE,
USB_DIR_OUT | USB_TYPE_STANDARD | USB_RECIP_DEVICE, USB_DIR_OUT | USB_TYPE_STANDARD | USB_RECIP_DEVICE,
...@@ -735,8 +736,7 @@ int wakeup_device(struct usb_device *pusb_device) ...@@ -735,8 +736,7 @@ int wakeup_device(struct usb_device *pusb_device)
0, NULL, 0, 50000); 0, NULL, 0, 50000);
} }
/*****************************************************************************/ /*****************************************************************************/
int int easycap_audio_setup(struct easycap *peasycap)
audio_setup(struct easycap *peasycap)
{ {
struct usb_device *pusb_device; struct usb_device *pusb_device;
u8 buffer[1]; u8 buffer[1];
...@@ -817,7 +817,7 @@ audio_setup(struct easycap *peasycap) ...@@ -817,7 +817,7 @@ audio_setup(struct easycap *peasycap)
* SELECT AUDIO SOURCE "LINE IN" AND SET THE AUDIO GAIN. * SELECT AUDIO SOURCE "LINE IN" AND SET THE AUDIO GAIN.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
if (0 != audio_gainset(pusb_device, peasycap->gain)) if (easycap_audio_gainset(pusb_device, peasycap->gain))
SAY("ERROR: audio_gainset() failed\n"); SAY("ERROR: audio_gainset() failed\n");
check_vt(pusb_device); check_vt(pusb_device);
return 0; return 0;
...@@ -894,7 +894,7 @@ int check_vt(struct usb_device *pusb_device) ...@@ -894,7 +894,7 @@ int check_vt(struct usb_device *pusb_device)
* 31 12.0 22.5 34.5 * 31 12.0 22.5 34.5
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
int audio_gainset(struct usb_device *pusb_device, s8 loud) int easycap_audio_gainset(struct usb_device *pusb_device, s8 loud)
{ {
int igot; int igot;
u8 tmp; u8 tmp;
......
...@@ -129,7 +129,7 @@ const char *strerror(int err) ...@@ -129,7 +129,7 @@ const char *strerror(int err)
* THIS ROUTINE DOES NOT DETECT DUPLICATE OCCURRENCES OF POINTER peasycap * THIS ROUTINE DOES NOT DETECT DUPLICATE OCCURRENCES OF POINTER peasycap
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
int isdongle(struct easycap *peasycap) int easycap_isdongle(struct easycap *peasycap)
{ {
int k; int k;
if (!peasycap) if (!peasycap)
...@@ -170,7 +170,7 @@ static int easycap_open(struct inode *inode, struct file *file) ...@@ -170,7 +170,7 @@ static int easycap_open(struct inode *inode, struct file *file)
JOM(16, "peasycap->pusb_device=%p\n", peasycap->pusb_device); JOM(16, "peasycap->pusb_device=%p\n", peasycap->pusb_device);
file->private_data = peasycap; file->private_data = peasycap;
rc = wakeup_device(peasycap->pusb_device); rc = easycap_wakeup_device(peasycap->pusb_device);
if (rc) { if (rc) {
SAM("ERROR: wakeup_device() rc = %i\n", rc); SAM("ERROR: wakeup_device() rc = %i\n", rc);
if (-ENODEV == rc) if (-ENODEV == rc)
...@@ -307,7 +307,7 @@ static int reset(struct easycap *peasycap) ...@@ -307,7 +307,7 @@ static int reset(struct easycap *peasycap)
peasycap->saturation = -8192; peasycap->saturation = -8192;
peasycap->hue = -8192; peasycap->hue = -8192;
rc = newinput(peasycap, input); rc = easycap_newinput(peasycap, input);
if (rc) { if (rc) {
SAM("ERROR: newinput(.,%i) rc = %i\n", rc, input); SAM("ERROR: newinput(.,%i) rc = %i\n", rc, input);
...@@ -368,8 +368,7 @@ static int reset(struct easycap *peasycap) ...@@ -368,8 +368,7 @@ static int reset(struct easycap *peasycap)
* SO IT SHOULD WRITE ONLY SPARINGLY TO THE LOGFILE. * SO IT SHOULD WRITE ONLY SPARINGLY TO THE LOGFILE.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
int int easycap_newinput(struct easycap *peasycap, int input)
newinput(struct easycap *peasycap, int input)
{ {
int rc, k, m, mood, off; int rc, k, m, mood, off;
int inputnow, video_idlenow, audio_idlenow; int inputnow, video_idlenow, audio_idlenow;
...@@ -536,7 +535,7 @@ newinput(struct easycap *peasycap, int input) ...@@ -536,7 +535,7 @@ newinput(struct easycap *peasycap, int input)
return -EFAULT; return -EFAULT;
} }
if (resubmit) if (resubmit)
submit_video_urbs(peasycap); easycap_video_submit_urbs(peasycap);
peasycap->video_isoc_sequence = VIDEO_ISOC_BUFFER_MANY - 1; peasycap->video_isoc_sequence = VIDEO_ISOC_BUFFER_MANY - 1;
peasycap->video_idle = video_idlenow; peasycap->video_idle = video_idlenow;
...@@ -546,7 +545,7 @@ newinput(struct easycap *peasycap, int input) ...@@ -546,7 +545,7 @@ newinput(struct easycap *peasycap, int input)
return 0; return 0;
} }
/*****************************************************************************/ /*****************************************************************************/
int submit_video_urbs(struct easycap *peasycap) int easycap_video_submit_urbs(struct easycap *peasycap)
{ {
struct data_urb *pdata_urb; struct data_urb *pdata_urb;
struct urb *purb; struct urb *purb;
...@@ -741,7 +740,7 @@ static void easycap_delete(struct kref *pkref) ...@@ -741,7 +740,7 @@ static void easycap_delete(struct kref *pkref)
SAM("ERROR: peasycap is NULL: cannot perform deletions\n"); SAM("ERROR: peasycap is NULL: cannot perform deletions\n");
return; return;
} }
kd = isdongle(peasycap); kd = easycap_isdongle(peasycap);
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/* /*
* FREE VIDEO. * FREE VIDEO.
...@@ -943,7 +942,7 @@ static unsigned int easycap_poll(struct file *file, poll_table *wait) ...@@ -943,7 +942,7 @@ static unsigned int easycap_poll(struct file *file, poll_table *wait)
return -EFAULT; return -EFAULT;
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
kd = isdongle(peasycap); kd = easycap_isdongle(peasycap);
if (0 <= kd && DONGLE_MANY > kd) { if (0 <= kd && DONGLE_MANY > kd) {
if (mutex_lock_interruptible(&easycapdc60_dongle[kd].mutex_video)) { if (mutex_lock_interruptible(&easycapdc60_dongle[kd].mutex_video)) {
SAY("ERROR: cannot down dongle[%i].mutex_video\n", kd); SAY("ERROR: cannot down dongle[%i].mutex_video\n", kd);
...@@ -955,7 +954,7 @@ static unsigned int easycap_poll(struct file *file, poll_table *wait) ...@@ -955,7 +954,7 @@ static unsigned int easycap_poll(struct file *file, poll_table *wait)
* peasycap, IN WHICH CASE A REPEAT CALL TO isdongle() WILL FAIL. * peasycap, IN WHICH CASE A REPEAT CALL TO isdongle() WILL FAIL.
* IF NECESSARY, BAIL OUT. * IF NECESSARY, BAIL OUT.
*/ */
if (kd != isdongle(peasycap)) { if (kd != easycap_isdongle(peasycap)) {
mutex_unlock(&easycapdc60_dongle[kd].mutex_video); mutex_unlock(&easycapdc60_dongle[kd].mutex_video);
return -ERESTARTSYS; return -ERESTARTSYS;
} }
...@@ -983,7 +982,7 @@ static unsigned int easycap_poll(struct file *file, poll_table *wait) ...@@ -983,7 +982,7 @@ static unsigned int easycap_poll(struct file *file, poll_table *wait)
*/ */
return -ERESTARTSYS; return -ERESTARTSYS;
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
rc = easycap_dqbuf(peasycap, 0); rc = easycap_video_dqbuf(peasycap, 0);
peasycap->polled = 1; peasycap->polled = 1;
mutex_unlock(&easycapdc60_dongle[kd].mutex_video); mutex_unlock(&easycapdc60_dongle[kd].mutex_video);
if (rc) if (rc)
...@@ -997,7 +996,7 @@ static unsigned int easycap_poll(struct file *file, poll_table *wait) ...@@ -997,7 +996,7 @@ static unsigned int easycap_poll(struct file *file, poll_table *wait)
* IF mode IS NONZERO THIS ROUTINE RETURNS -EAGAIN RATHER THAN BLOCKING. * IF mode IS NONZERO THIS ROUTINE RETURNS -EAGAIN RATHER THAN BLOCKING.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
int easycap_dqbuf(struct easycap *peasycap, int mode) int easycap_video_dqbuf(struct easycap *peasycap, int mode)
{ {
int input, ifield, miss, rc; int input, ifield, miss, rc;
...@@ -3036,7 +3035,7 @@ static int easycap_usb_probe(struct usb_interface *intf, ...@@ -3036,7 +3035,7 @@ static int easycap_usb_probe(struct usb_interface *intf,
* DYNAMICALLY FILL IN THE AVAILABLE FORMATS ... * DYNAMICALLY FILL IN THE AVAILABLE FORMATS ...
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
rc = fillin_formats(); rc = easycap_video_fillin_formats();
if (0 > rc) { if (0 > rc) {
SAM("ERROR: fillin_formats() rc = %i\n", rc); SAM("ERROR: fillin_formats() rc = %i\n", rc);
return -EFAULT; return -EFAULT;
...@@ -4025,7 +4024,7 @@ static void easycap_usb_disconnect(struct usb_interface *pusb_interface) ...@@ -4025,7 +4024,7 @@ static void easycap_usb_disconnect(struct usb_interface *pusb_interface)
* AN EasyCAP IS UNPLUGGED WHILE THE URBS ARE RUNNING. BEWARE. * AN EasyCAP IS UNPLUGGED WHILE THE URBS ARE RUNNING. BEWARE.
*/ */
/*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/
kd = isdongle(peasycap); kd = easycap_isdongle(peasycap);
switch (bInterfaceNumber) { switch (bInterfaceNumber) {
case 0: { case 0: {
if (0 <= kd && DONGLE_MANY > kd) { if (0 <= kd && DONGLE_MANY > kd) {
......
...@@ -313,7 +313,7 @@ const struct easycap_standard easycap_standard[] = { ...@@ -313,7 +313,7 @@ const struct easycap_standard easycap_standard[] = {
struct easycap_format easycap_format[1 + SETTINGS_MANY]; struct easycap_format easycap_format[1 + SETTINGS_MANY];
int fillin_formats(void) int easycap_video_fillin_formats(void)
{ {
const char *name1, *name2, *name3, *name4; const char *name1, *name2, *name3, *name4;
struct v4l2_format *fmt; struct v4l2_format *fmt;
......
...@@ -61,7 +61,7 @@ static const struct snd_pcm_hardware alsa_hardware = { ...@@ -61,7 +61,7 @@ static const struct snd_pcm_hardware alsa_hardware = {
* SUBMIT ALL AUDIO URBS. * SUBMIT ALL AUDIO URBS.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
static int submit_audio_urbs(struct easycap *peasycap) static int easycap_audio_submit_urbs(struct easycap *peasycap)
{ {
struct data_urb *pdata_urb; struct data_urb *pdata_urb;
struct urb *purb; struct urb *purb;
...@@ -69,10 +69,6 @@ static int submit_audio_urbs(struct easycap *peasycap) ...@@ -69,10 +69,6 @@ static int submit_audio_urbs(struct easycap *peasycap)
int j, isbad, nospc, m, rc; int j, isbad, nospc, m, rc;
int isbuf; int isbuf;
if (!peasycap) {
SAY("ERROR: peasycap is NULL\n");
return -EFAULT;
}
if (!peasycap->purb_audio_head) { if (!peasycap->purb_audio_head) {
SAM("ERROR: peasycap->urb_audio_head uninitialized\n"); SAM("ERROR: peasycap->urb_audio_head uninitialized\n");
return -EFAULT; return -EFAULT;
...@@ -167,7 +163,7 @@ static int easycap_sound_setup(struct easycap *peasycap) ...@@ -167,7 +163,7 @@ static int easycap_sound_setup(struct easycap *peasycap)
} }
JOM(16, "0x%08lX=peasycap->pusb_device\n", (long int)peasycap->pusb_device); JOM(16, "0x%08lX=peasycap->pusb_device\n", (long int)peasycap->pusb_device);
rc = audio_setup(peasycap); rc = easycap_audio_setup(peasycap);
JOM(8, "audio_setup() returned %i\n", rc); JOM(8, "audio_setup() returned %i\n", rc);
if (!peasycap->pusb_device) { if (!peasycap->pusb_device) {
...@@ -184,13 +180,13 @@ static int easycap_sound_setup(struct easycap *peasycap) ...@@ -184,13 +180,13 @@ static int easycap_sound_setup(struct easycap *peasycap)
JOM(8, "usb_set_interface(.,%i,%i) returned %i\n", peasycap->audio_interface, JOM(8, "usb_set_interface(.,%i,%i) returned %i\n", peasycap->audio_interface,
peasycap->audio_altsetting_on, rc); peasycap->audio_altsetting_on, rc);
rc = wakeup_device(peasycap->pusb_device); rc = easycap_wakeup_device(peasycap->pusb_device);
JOM(8, "wakeup_device() returned %i\n", rc); JOM(8, "wakeup_device() returned %i\n", rc);
peasycap->audio_eof = 0; peasycap->audio_eof = 0;
peasycap->audio_idle = 0; peasycap->audio_idle = 0;
submit_audio_urbs(peasycap); easycap_audio_submit_urbs(peasycap);
JOM(4, "finished initialization\n"); JOM(4, "finished initialization\n");
return 0; return 0;
...@@ -203,8 +199,7 @@ static int easycap_sound_setup(struct easycap *peasycap) ...@@ -203,8 +199,7 @@ static int easycap_sound_setup(struct easycap *peasycap)
* IT IS RESUBMITTED PROVIDED peasycap->audio_isoc_streaming IS NOT ZERO. * IT IS RESUBMITTED PROVIDED peasycap->audio_isoc_streaming IS NOT ZERO.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
void void easycap_alsa_complete(struct urb *purb)
easycap_alsa_complete(struct urb *purb)
{ {
struct easycap *peasycap; struct easycap *peasycap;
struct snd_pcm_substream *pss; struct snd_pcm_substream *pss;
......
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