USB: gadget: f_audio_source: Adjust packet timing to reduce glitches
authorMike Lockwood <lockwood@google.com>
Sun, 27 May 2012 22:41:53 +0000 (15:41 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Tue, 21 Aug 2012 10:22:05 +0000 (15:22 +0530)
commitbccc02fdad5ee5a1e405737b42922eeff589f4c0
tree53798e5b17ecb9e3ce13b3e5f38a39fb3c823544
parent75f75466d4c484f30a2a8b8ffdb25262c139462c
USB: gadget: f_audio_source: Adjust packet timing to reduce glitches

Increase max packet size and clean up timing logic so we can better
recover from not getting an interrupt in time for a SOF.

Bug 1026047

Signed-off-by: Mike Lockwood <lockwood@google.com>
(cherry picked from commit 3d2096a7959d023bc31a3cf934c3d425de01c94f)

Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Change-Id: I0a0a6f448e71e4a0c478bb44cadc54fa021e13e4
Reviewed-on: http://git-master/r/123344
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/gadget/f_audio_source.c