[alsa-devel] [PATCH 4/4] ASoC: cs42l73: Use case range at appropriate place

Brian Austin brian.austin at cirrus.com
Wed Aug 12 14:17:43 CEST 2015


On Tue, 11 Aug 2015, Axel Lin wrote:

> The readable registers are in continuous ranges: 0x01 ~ 0x03, 0x05 ~ 0x5f.
> Use case range syntax makes the code shorter with better readability when
> we have a large number of continuous switch cases.
> No functional change with this patch.
> 
> Signed-off-by: Axel Lin <axel.lin at ingics.com>
That looks so much nicer!
Thanks Axel

Acked-by: Brian Austin <brian.austin at cirrus.com>


More information about the Alsa-devel mailing list