[alsa-devel] [PATCHv2 5/5] ASoC: fsl-sai: rename big_endian_data to is_msb_first.

Li.Xiubo at freescale.com Li.Xiubo at freescale.com
Mon Aug 25 05:27:30 CEST 2014


> On Sun, Aug 24, 2014 at 10:18:37PM -0500, Timur Tabi wrote:
> > Xiubo Li wrote:
> > >-	sai->big_endian_data = of_property_read_bool(np, "big-endian-data");
> > >+	sai->is_msb_first = of_property_read_bool(np, "msb-first");
> >
> > This will break backwards compatibility with older device trees.
> 
> Yes.
> 
> Xiubo, you can try to fetch "big-endian-data" first. Then fetch
> the new binding if the "big-endian-data" is absent. Just make
> it compatible with both older device trees and the new one.
>

@ Nicolin, Timur,

Okay, if there has any other SoCs using this, I will modify them together.

Thanks,

BRs
Xiubo


More information about the Alsa-devel mailing list