Revision 61598788582cafad52816d5d1db879334d8bd561 authored by hayeswang on 20 November 2013, 09:30:55 UTC, committed by David S. Miller on 20 November 2013, 20:09:41 UTC
Remove the code for sending the packet in the rtl8152_start_xmit().
Let rtl8152_start_xmit() to queue the packet only, and schedule a
tasklet to send the queued packets. This simplify the code and make
sure all the packet would be sent by the original order.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 7937f9e
Raw File
clock.h
#ifndef __USBAUDIO_CLOCK_H
#define __USBAUDIO_CLOCK_H

int snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface,
			     struct usb_host_interface *alts,
			     struct audioformat *fmt, int rate);

int snd_usb_clock_find_source(struct snd_usb_audio *chip, int entity_id,
			     bool validate);

#endif /* __USBAUDIO_CLOCK_H */
back to top