USB: gadget: f_uac2: Fix broken prm to uac2 mapping
authorJassi Brar <jaswinder.singh@linaro.org>
Thu, 30 May 2013 12:53:33 +0000 (18:23 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 10 Jun 2013 14:10:23 +0000 (17:10 +0300)
prm_to_uac2() is broken because it tests against pointer it itself
mapped onto, which will never be different.
Fix the mapping by adding pointer to parent chip in each rtd param
and removing the prm_to_uac2().

Reported-by: Julien Rouviere <jrouviere@qualistream.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found