[alsa-devel] [PATCH] ASoC: cs42xx8: Check return value of regmap_read and report correct chipid value
Brian Austin
brian.austin at cirrus.com
Thu Apr 3 18:50:41 CEST 2014
> Fix checking return value of regmap_read().
> Also fix reporting the chip_id value. CS42XX8_CHIPID_CHIP_ID_MASK is 0xF0,
> so the chip_id value is (val & CS42XX8_CHIPID_CHIP_ID_MASK) >> 4).
>
> Signed-off-by: Axel Lin <axel.lin at ingics.com>
> ---
Acked-by: Brian Austin <brian.austin at cirrus.com>
More information about the Alsa-devel
mailing list