summaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_hashtables.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-08-15 08:22:39 +0200
committerJaroslav Kysela <perex@suse.cz>2005-08-30 08:45:41 +0200
commitb263a9bdf9394062a4fc4272ebed60de331c5490 (patch)
tree440f459eb1cd93ed015c38bf20e93e122d4a32e0 /net/ipv4/inet_hashtables.c
parent99250872fc619bb5b5ddddcf1c58714a774526fc (diff)
[ALSA] usb-audio: optimize handling of capture URBs
USB generic driver When preparing capture URBs, we don't need to stop when we cross a period boundary because we now never handle more than one millisecond of data per URB anyway. When handling captured data, use an extra flag to call snd_pcm_period_elapsed() no more than once. This allows us to move the period boundary checking code before the copying of the data which avoids a second locking of the substream's lock. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'net/ipv4/inet_hashtables.c')
0 files changed, 0 insertions, 0 deletions