usb: gadget: f_uac2: use defined constants as defaults
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 22 Jul 2014 17:58:34 +0000 (19:58 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 20 Aug 2014 19:04:38 +0000 (14:04 -0500)
commit065a107cdd70f0621011424009b3ecd4e42481b1
tree6448e4a942ed96ceadea0b6e794a0ce50f0a4c02
parentf408757f819a5792e6d27865a12f4da4ae802d28
usb: gadget: f_uac2: use defined constants as defaults

When configfs is integrated the same values will have to be used
as defaults. Use symbolic names in order not to duplicate 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/u_uac2.h
drivers/usb/gadget/legacy/audio.c