Re: [PATCH 3/5] ALSA: hda/ca0132 - Add 8051 exram helper functions.

2020-12-09 Thread Takashi Iwai
On Tue, 08 Dec 2020 22:25:43 +0100, Connor McAdams wrote: > > +static void chipio_8051_write_exram(struct hda_codec *codec, > + unsigned int addr, unsigned int data, bool use_mutex) > +{ > + struct ca0132_spec *spec = codec->spec; > + unsigned int tmp; > + > + if

[PATCH 3/5] ALSA: hda/ca0132 - Add 8051 exram helper functions.

2020-12-08 Thread Connor McAdams
Add functions for both reading and writing to the 8051's exram. Also, add a little bit of documentation on how the addresses are segmented. Signed-off-by: Connor McAdams --- sound/pci/hda/patch_ca0132.c | 138 --- 1 file changed, 80 insertions(+), 58 deletions(-)