I need to be able to set the gain between the left and right DAC units independently in this driver, but I see no way of doing it. In the ssm260x_probe() function it sets RLHPBOTH and LRHPBOTH to 1.
/* set the update bits */
reg = snd_soc_read(codec, SSM2602_LINVOL);
snd_soc_write(codec, SSM2602_LINVOL, reg | LINVOL_LRIN_BOTH);
reg = snd_soc_read(codec, SSM2602_RINVOL);
snd_soc_write(codec, SSM2602_RINVOL, reg | RINVOL_RLIN_BOTH);
Do I need to create a new ALSA control to modify each one? Could someone possibly give me a breakdown of what that entails? I don't want to hard code it, but I don't want this to take a week either.