alsa: lx6464es - configure ethersound io channels
PATCH 1/1 alsa: lx6464es - configure ethersound io channels
as long as the io channel number is not set by the driver, the card is not visible from the ethersound network
Signed-off-by Tim Blechmann <[email protected]>
--- sound/pci/lx6464es/lx6464es.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-)
sound/pci/lx6464es/lx6464es.c +3 -4
@@ -654,13 +654,12 @@ static int __devinit lx_init_ethersound_config(struct lx6464es *chip)int i;u32 orig_conf_es =lx_dsp_reg_read (chip, eReg_CONFES); -u32 default_conf_es = (64 <<IOCR_OUTPUTS_OFFSET ) | +/* configure 64 io channels */ +u32 conf_es = (orig_conf_es &CONFES_READ_PART_MASK ) | (64 <<IOCR_INPUTS_OFFSET ) | + (64 <<IOCR_OUTPUTS_OFFSET ) | (FREQ_RATIO_SINGLE_MODE <<FREQ_RATIO_OFFSET ); -u32 conf_es = (orig_conf_es &CONFES_READ_PART_MASK ) - | (default_conf_es &CONFES_WRITE_PART_MASK ); -snd_printdd ("->lx_init_ethersound\n" ); chip->freq_ratio =FREQ_RATIO_SINGLE_MODE ;
Signature · 1 line
1.6.2.1
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Wed, 24 Jun 2009 15:27:30 +0200,
Quoted 5 lines · Tim Blechmann
as long as the io channel number is not set by the driver, the card is not visible from the ethersound network
Signed-off-by Tim Blechmann <[email protected]>
Applied now. Thanks.
(BTW, it'd be helpful if you give a patch by git-format-patch command
so that it can be applied via git-am directly at the next time...)
Takashi