summaryrefslogtreecommitdiffstats
path: root/drivers/sn
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-10-22 22:15:08 +0200
committerFelipe Balbi <balbi@ti.com>2012-10-31 14:10:25 +0100
commit4ce63571d6a34e151f1525d2dcb5559293d8ad54 (patch)
treebfe57a150545b1dc04cbb9085ae30bdeed40cb44 /drivers/sn
parentusb: gadget: remove DMA_ADDR_INVALID from f_uac2 and gadgetfs (diff)
downloadlinux-4ce63571d6a34e151f1525d2dcb5559293d8ad54.tar.xz
linux-4ce63571d6a34e151f1525d2dcb5559293d8ad54.zip
usb: gadget: uac2: provide a variable for interface and alt settings
This patch removes the shifting and masking of interface and its alt setting and provides its own variable. This looks better and is smaller: text data bss dec hex filename x86-32 6940 956 56 7952 1f10 gadget/audio.o.old 6908 956 56 7920 1ef0 gadget/audio.o.new arm 7914 956 56 8926 22de gadget/audio.o.old 7886 956 56 8898 22c2 gadget/audio.o.new Acked-by: Jassi Brar <jassisinghbrar@gmail.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/sn')
0 files changed, 0 insertions, 0 deletions