ASoC: mchp-spdifrx: Replace manual bitfield manipulations with macros and typo correction

Replace manual bitfield manipulations with FIELD_GET() and
FIELD_PREP() in order to improve code readability, security
and manageability. Also correcting GENAMSK typo for GENMASK.

Signed-off-by: João Marinho <joao.bcc@usp.br>
Co-developed-by: Micael Vinicius <micael0208@usp.br>
Signed-off-by: Micael Vinicius <micael0208@usp.br>
Link: https://patch.msgid.link/20260420203218.15060-1-joao.bcc@usp.br
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
João 2026-04-20 17:32:03 -03:00 • committed by Mark Brown
commit 0241d6192a
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0