ASoC: atmel_ssc_dai: if not provided, default to sensible dividers
authorPeter Rosin <peda@axentia.se>
Tue, 15 Nov 2016 18:38:13 +0000 (19:38 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 16 Nov 2016 11:02:31 +0000 (11:02 +0000)
commita85787edaaf7bc77ed011c89e23d52b3ff352c51
treed705da6cfaf803fb1988a1f6778c41b35bc031f9
parent28549313da65cc8711401ee5466c526bd67de5f1
ASoC: atmel_ssc_dai: if not provided, default to sensible dividers

When this driver masters BCLK and/or LRCLK, and noone has stated
differently, assume that all the bits of a frame are used.

This relieves the cpu dai users from the duty to fill in the dividers for
the common case.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel_ssc_dai.c
sound/soc/atmel/atmel_ssc_dai.h