/* This makes me sad. the maestro3 has lists internally that must be packed.. 0 terminates, apparently, or maybe all unused entries have to be 0, the lists have static lengths set by the binary code images.  */
static int snd_m3_add_list(struct snd_m3 *chip, struct m3_list *list, u16 val)
/* This makes me sad. the maestro3 has lists internally that must be packed.. 0 terminates, apparently, or maybe all unused entries have to be 0, the lists have static lengths set by the binary code images.  */
static int snd_m3_add_list(struct snd_m3 *chip, struct m3_list *list, u16 val)
{
	snd_m3_assp_write(chip, MEMTYPE_INTERNAL_DATA,
			  list->mem_addr + list->curlen,
			  val);
	return list->curlen++;
}