staging: bcm2835-audio: Add 10ms period constraint
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:46 +0000 (17:58 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:30 +0000 (00:08 +0100)
commitc6795103b632d6cdfdc0bcb2aef43bee1d566b52
tree38a69b2374464c692f7356562c07b456ae55c53a
parent922fe5c7ab59e1e78f19c17f6446740715274a09
staging: bcm2835-audio: Add 10ms period constraint

commit 93c66acaf68b5247c3121a46a71ff6a70fc1d492 upstream.

It seems that the resolution of vc04 callback is in 10 msec; i.e. the
minimal period size is also 10 msec.

This patch adds the corresponding hw constraint.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c