[alsa-devel] [PATCH RESEND] ASoC: rt1011: set tx/rx slots from tx/rx_mask in TDM case
Shuming [范書銘]
shumingf at realtek.com
Mon Oct 14 03:46:01 CEST 2019
> On Tue, Oct 08, 2019 at 09:32:05AM +0000, Shuming [范書銘] wrote:
>
> > + if (first_bit == 0 || first_bit == 2 ||
> > + first_bit == 4 || first_bit == 6) {
>
>
> > + } else {
> > + }
>
> This would be more idiomatically written as a switch statement, as would the
> equivalent stuff on the TX side.
OK, I will modify it as a switch statement and send v2 patch.
> ------Please consider the environment before printing this e-mail.
More information about the Alsa-devel
mailing list