15 Mar
2014
15 Mar
'14
3:43 p.m.
Суббота, 15 марта 2014, 13:44 +01:00 от Markus Pargmann mpa@pengutronix.de:
This patch replaces the ssi specific functions write_ssi, read_ssi and write_ssi_mask by standard regmap function calls.
...
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
...
+static const struct regmap_config fsl_ssi_regconfig = {
- .max_register = CCSR_SSI_SACCDIS,
- .reg_bits = 32,
- .val_bits = 32,
- .reg_stride = 4,
+#ifdef PPC
- .val_format_endian = REGMAP_ENDIAN_BIG,
+#endif +};
Why we cannot use REGMAP_ENDIAN_NATIVE here for all cases? Theoretically, we can use for i.MX SOCs with different endianness, so this will help us.
---