From patchwork Thu Mar 15 06:26:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Wei X-Patchwork-Id: 7305 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 6218C23E14 for ; Thu, 15 Mar 2012 06:27:47 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 1A9D8A18096 for ; Thu, 15 Mar 2012 06:27:46 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so4682556iag.11 for ; Wed, 14 Mar 2012 23:27:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :x-spamscore:x-bigfish:x-forefront-antispam-report :x-fb-domain-ip-match:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:mime-version:content-type:x-originatororg :x-gm-message-state; bh=s/89nmtXIu4KKWUponxh0l89JiEWb8cge1y7bfSdfSc=; b=Ta/DslUzHEoly2rNpgnDs9gus4W8y761aTPQskU3ZBepzfLxZPi4n455Li2PJ0RY8X rQetKnq63OXGhyeCTgGzLbA2nGWqwZE/wvxado2ymSntVzGeFH0ptNHOtV3b2O+1u8Qx P0np/VireZCn1yy3kTEBDCa6/E1PPaLSx6LMDDStojBpetALmGuU/XGGWFGhIJrwNuoe 2RfLwpoh+t6EFVDL71O+uUOY7yUpx4xc37GvGlMc2npKUQOHPmH8cGlqJiX9adOZmaiI +Mpqr1KpyRmxn3NtveFXEN54y2pL5s77aib0B2kYyXjDqJ7yrsY9ccSqpk3PToDhGHMg BlVA== Received: by 10.50.183.137 with SMTP id em9mr14978320igc.58.1331792866847; Wed, 14 Mar 2012 23:27:46 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.53.18 with SMTP id k18csp28354ibg; Wed, 14 Mar 2012 23:27:46 -0700 (PDT) Received: by 10.180.83.198 with SMTP id s6mr12702282wiy.8.1331792864928; Wed, 14 Mar 2012 23:27:44 -0700 (PDT) Received: from db3outboundpool.messaging.microsoft.com (db3ehsobe005.messaging.microsoft.com. [213.199.154.143]) by mx.google.com with ESMTPS id bw9si996354wib.28.2012.03.14.23.27.44 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Mar 2012 23:27:44 -0700 (PDT) Received-SPF: neutral (google.com: 213.199.154.143 is neither permitted nor denied by best guess record for domain of feng.wei@linaro.org) client-ip=213.199.154.143; Authentication-Results: mx.google.com; spf=neutral (google.com: 213.199.154.143 is neither permitted nor denied by best guess record for domain of feng.wei@linaro.org) smtp.mail=feng.wei@linaro.org Received: from mail83-db3-R.bigfish.com (10.3.81.253) by DB3EHSOBE003.bigfish.com (10.3.84.23) with Microsoft SMTP Server id 14.1.225.23; Thu, 15 Mar 2012 06:27:45 +0000 Received: from mail83-db3 (localhost [127.0.0.1]) by mail83-db3-R.bigfish.com (Postfix) with ESMTP id 0E2FE4A0791; Thu, 15 Mar 2012 06:27:45 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzzz2dh87h2a8h668h839hd24h) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-FB-DOMAIN-IP-MATCH: fail Received: from mail83-db3 (localhost.localdomain [127.0.0.1]) by mail83-db3 (MessageSwitch) id 1331792863906877_30276; Thu, 15 Mar 2012 06:27:43 +0000 (UTC) Received: from DB3EHSMHS002.bigfish.com (unknown [10.3.81.243]) by mail83-db3.bigfish.com (Postfix) with ESMTP id D83AE160045; Thu, 15 Mar 2012 06:27:43 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB3EHSMHS002.bigfish.com (10.3.87.102) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 15 Mar 2012 06:27:43 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.1.355.3; Thu, 15 Mar 2012 01:27:41 -0500 Received: from wayne-Latitude-E6410.ap.freescale.net ([10.213.130.145]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id q2F6RLVa014574; Wed, 14 Mar 2012 23:27:39 -0700 From: Feng Wei To: CC: , , , Feng Wei Subject: [pulseaudio-discuss][RFC PATCH v2 2/3] Add use_ucm to udev detect module Date: Thu, 15 Mar 2012 14:26:55 +0800 Message-ID: <1331792816-18971-3-git-send-email-feng.wei@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1331792816-18971-1-git-send-email-feng.wei@linaro.org> References: <1331792816-18971-1-git-send-email-feng.wei@linaro.org> MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com X-Gm-Message-State: ALoCoQnvGyWBI/0jtl3+J6eylkazumnXXQoiCex+XzHlCdIIuQOkW5SiZjBop2ICcvhuM72769xB Make UCM branches available in alsa module when alsa card detected. --- src/modules/module-udev-detect.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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,