ALSA: usb-audio: separate sync endpoint setting from set_format
authorEldad Zack <eldad@fogrefinery.com>
Sat, 3 Aug 2013 08:50:17 +0000 (10:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 6 Aug 2013 08:48:34 +0000 (10:48 +0200)
commit71bb64c56d787a221752b1de034fe8c07c737f5c
tree6af50222ade08ed53c6245e1d18091ecc6397503
parentd133f2c22e9cb7b6afd170437cf0ef1e8a1571b6
ALSA: usb-audio: separate sync endpoint setting from set_format

Setting the sync endpoint currently takes up about half of set_format().
Move it to a dedicated function.
No functional change.

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c