Re: [PATCH 07/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_card_name()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark

> > +	if (!card->name)
> > +		card->name = card->dai_link->name;
> 
> This will unconditionally defererence dai_link but it's optional - we
> can have analogue only cards.

This is not new feature. Current simple-card already has it.

--------------------
commit 2772555b6c5ba79783c04ea6c60549530d737e2e
Author: Xiubo Li <Li.Xiubo@xxxxxxxxxxxxx>
Date:   Fri Jan 24 15:43:02 2014 +0800

    ASoC: simple-card: Add snd_card's name parsing from DT node support
    
    If the DT is used and the CPU DAI device has only one DAI, the card
    name will be like :
    
    ALSA device list:
    0: 40031000.sai-sgtl5000
    
    And this name maybe a little ugly to some customers, so here the
    card name parsing from DT node is supported.
    
    Signed-off-by: Xiubo Li <Li.Xiubo@xxxxxxxxxxxxx>
    Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
--------------------



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux