From patchwork Fri May 18 10:06:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Wei X-Patchwork-Id: 8805 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 ACB8B23EAB for ; Fri, 18 May 2012 10:07:43 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 7C675A18C2E for ; Fri, 18 May 2012 10:07:43 +0000 (UTC) Received: by yenq6 with SMTP id q6so3215826yen.11 for ; Fri, 18 May 2012 03:07:43 -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=MuePMItd4WEbQgefXqVwcElFwn3e8jcinBBnGSontis=; b=J0Ehrbn4iC9R5o5oRWS+usTSGk367rQjEma4GY36P8EcdnhcAmsbWLhFJIELYDnnvX U/Frc5Ptj98K/A+ftKSwrFrI2Y6PhTqhkW10rIslqwQIR6rKS24H7vPLsRCXDWD6vdcB ffHATQ4LWCT1AqaQ3qUa2GX4vBirtlQKvaRQmCOL5QxMySwdNEfBxldjglBoyXEGHErc c43YAPn2GrhvZAz7gbO6nv/AQD3my+0EZilZVZCD6xmdLARQHBgG/mQgrAqhVC7RcJga BC/kOyxKM4NuV44XHl7ePnhcWFQI/JtVzmPkW//JUdylyTNPCrt0iG2lLV2pxEzvGn8V 6exA== Received: by 10.50.195.234 with SMTP id ih10mr32514igc.0.1337335662712; Fri, 18 May 2012 03:07:42 -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.35.72 with SMTP id o8csp92165ibd; Fri, 18 May 2012 03:07:42 -0700 (PDT) Received: by 10.50.140.4 with SMTP id rc4mr16174959igb.68.1337335662116; Fri, 18 May 2012 03:07:42 -0700 (PDT) Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe001.messaging.microsoft.com. [216.32.181.181]) by mx.google.com with ESMTPS id bl3si9847130icb.6.2012.05.18.03.07.41 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 May 2012 03:07:42 -0700 (PDT) Received-SPF: neutral (google.com: 216.32.181.181 is neither permitted nor denied by best guess record for domain of feng.wei@linaro.org) client-ip=216.32.181.181; Authentication-Results: mx.google.com; spf=neutral (google.com: 216.32.181.181 is neither permitted nor denied by best guess record for domain of feng.wei@linaro.org) smtp.mail=feng.wei@linaro.org Received: from mail156-ch1-R.bigfish.com (10.43.68.248) by CH1EHSOBE013.bigfish.com (10.43.70.63) with Microsoft SMTP Server id 14.1.225.23; Fri, 18 May 2012 10:07:32 +0000 Received: from mail156-ch1 (localhost [127.0.0.1]) by mail156-ch1-R.bigfish.com (Postfix) with ESMTP id 709B3120540; Fri, 18 May 2012 10:07:32 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275dhz2dh87h2a8h668h839hd24he5bhe96hf0ah) 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 mail156-ch1 (localhost.localdomain [127.0.0.1]) by mail156-ch1 (MessageSwitch) id 1337335650809299_15835; Fri, 18 May 2012 10:07:30 +0000 (UTC) Received: from CH1EHSMHS024.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.245]) by mail156-ch1.bigfish.com (Postfix) with ESMTP id C12622400C3; Fri, 18 May 2012 10:07:30 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CH1EHSMHS024.bigfish.com (10.43.70.24) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 18 May 2012 10:07:30 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.2.298.5; Fri, 18 May 2012 05:07:38 -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 q4IA7IVc016083; Fri, 18 May 2012 03:07:36 -0700 From: To: CC: , , , Feng Wei Subject: [RFC PATCH 2/4] Add use_ucm to udev detect module Date: Fri, 18 May 2012 18:06:46 +0800 Message-ID: <1337335608-6901-3-git-send-email-feng.wei@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1337335608-6901-1-git-send-email-feng.wei@linaro.org> References: <1337335608-6901-1-git-send-email-feng.wei@linaro.org> MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com X-Gm-Message-State: ALoCoQkaiEGzKBMuc80UQrq5gacWrLHFcwHtDGQl0cF7wTDv8FkYp9Cq9wVTOdUc6oN3Su/7+9JF From: Feng Wei Make UCM branches available in alsa module when alsa card detected. Signed-off-by: Feng Wei --- 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,