[RFC PATCH 2/4] Add use_ucm to udev detect module

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

 



On Fri, 2012-05-18 at 18:06 +0800, feng.wei at linaro.org wrote:
> From: Feng Wei <feng.wei at linaro.org>
> 
> Make UCM branches available in alsa module when alsa card detected.
> 
> Signed-off-by: Feng Wei <feng.wei at linaro.org>
> ---
>  src/modules/module-udev-detect.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c
> index 1192194..ccc3374 100644
> --- a/src/modules/module-udev-detect.c
> +++ b/src/modules/module-udev-detect.c
> @@ -394,6 +394,7 @@ static void card_changed(struct userdata *u, struct udev_device *dev) {
>                                  "fixed_latency_range=%s "
>                                  "ignore_dB=%s "
>                                  "deferred_volume=%s "
> +                                "use_ucm=1 "
>                                  "card_properties=\"module-udev-detect.discovered=1\"",
>                                  path_get_card_id(path),
>                                  n,

Do we really need this? We could just have it on-by-default in
module-alsa-card, where you already gracefully fallback to the old
behaviour of UCM configs don't exist.

-- Arun



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux