usb: gadget: f_uac1: use defined constants as defaults
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 22 Jul 2014 17:58:42 +0000 (19:58 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 20 Aug 2014 19:05:14 +0000 (14:05 -0500)
commitbcec9784dd78abfa9d8ca8b7144f6e37ea6abfd5
tree789fc069ac48cbca4f9206bb0ce4c5e09b4bd5e2
parent807dccdba5c157c7131772bb6bd9a114a2ed9760
usb: gadget: f_uac1: use defined constants as defaults

When configfs support is added the values in question will have to be
used in two different places. Substitute them with defined constants
to avoid duplicating magic numbers.

Tested-by: Sebastian Reimers <sebastian.reimers@googlemail.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_uac1.c
drivers/usb/gadget/function/u_uac1.h
drivers/usb/gadget/legacy/audio.c