From patchwork Fri Dec 14 11:56:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 13578 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 C65E723FC0 for ; Fri, 14 Dec 2012 11:58:08 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 6C341A19D3C for ; Fri, 14 Dec 2012 11:58:07 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so5710167ieb.11 for ; Fri, 14 Dec 2012 03:58:06 -0800 (PST) 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-auditid :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :dlp-filter:x-mtr:x-brightmail-tracker:x-brightmail-tracker :x-cfilter-loop:x-gm-message-state; bh=YZNjh2FfVIAx/8a5I8GxDkioXbFPGAYlqREtJR6FrWY=; b=TLbcqHxVz40GHE5aZ1IOPNLOS3DtzO7d7eJ5IsGagZtZPL4BCajX2giU5U92sS0BXM LIviyTt32VDg3bkHDUewFSF0LzKQUNbM9bvR8DFYG5GWShPt8TAORDK1nI2itOxCp0Eq c+ya9TQORcoVIiwlaD2idXWKkSdu9f4GcH3UOXm+hHFHaWyDVXLvLnaRrsC89mIRgO5P qlTZ0MNrgEBMVsb3j1SYpJorzaoY1dDFL6E9aNo5HJYwnOgUGfhEx5lOVF2F9rrVmHEC JXWHBLX5ij4RPkiGV+LSoVMl6XPcamISep1D+PGT4NZWCj4pRlfBid2ANPgQZ5Q5ofAu O/tA== Received: by 10.50.152.137 with SMTP id uy9mr1234805igb.62.1355486286900; Fri, 14 Dec 2012 03:58:06 -0800 (PST) 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.50.67.148 with SMTP id n20csp67426igt; Fri, 14 Dec 2012 03:58:06 -0800 (PST) Received: by 10.68.192.70 with SMTP id he6mr15012734pbc.142.1355486286260; Fri, 14 Dec 2012 03:58:06 -0800 (PST) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by mx.google.com with ESMTP id ax10si4709003pbd.44.2012.12.14.03.58.05; Fri, 14 Dec 2012 03:58:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.34 as permitted sender) client-ip=203.254.224.34; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.34 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MF0001G7RWT21B0@mailout4.samsung.com>; Fri, 14 Dec 2012 20:58:05 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id DE.8E.12699.D441BC05; Fri, 14 Dec 2012 20:58:05 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-e6-50cb144d3fa2 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 8E.8E.12699.C441BC05; Fri, 14 Dec 2012 20:58:04 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MF000GYFRKI4870@mmp2.samsung.com>; Fri, 14 Dec 2012 20:58:04 +0900 (KST) From: Rajeshwari Shinde To: u-boot@lists.denx.de Cc: patches@linaro.org, sjg@chromium.org, mk7.kang@samsung.com, chander.kashyap@linaro.org Subject: [PATCH 12/16] Sound: Add FDT support to CMD. Date: Fri, 14 Dec 2012 17:26:25 +0530 Message-id: <1355486189-432-12-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1355486189-432-1-git-send-email-rajeshwari.s@samsung.com> References: <1355486189-432-1-git-send-email-rajeshwari.s@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsWyRsSkWtdX5HSAwY+jXBYP199ksZhy+AuL A5PHnWt72AIYo7hsUlJzMstSi/TtErgyWj88YCk4yVrxfMYOtgbGwyxdjJwcEgImEp+uzGKD sMUkLtxbD2RzcQgJLGWUuHJ9DSNM0YptR1ghEtMZJX4vuckI4Uxkkth14QgzSBWbgJHE1pPT wDpEBCQkfvVfBbOZBWIkXu//AbZCWMBUYsaVM2A2i4CqxKZ1z8BqeAXcJf49PQ91hoLEsalf WUFsTqD4yTf3wOYLCbhJrOhZBtUrIPFt8iGgFziA6mUlNh1gBrlHQuA6m8SZrWug5khKHFxx g2UCo/ACRoZVjKKpBckFxUnpuUZ6xYm5xaV56XrJ+bmbGIEBefrfM+kdjKsaLA4xCnAwKvHw fhA6FSDEmlhWXJl7iFGCg1lJhFfyCFCINyWxsiq1KD++qDQntfgQow/QJROZpUST84HRklcS b2hsYm5qbGppZGRmaopDWEmct9kjJUBIID2xJDU7NbUgtQhmHBMHp1QDYzkLk7L0FnnWPN2W PMtN+x98Uo6ewXW95dC9GbOY1nUtf/q6OHV3zx/u14V9nMcD2z1Szl+UO79K6UCRw2qp8482 +ZqHTFzxYYFas6D7zCktuw5Mn9KmrPL+wRul1aW/Fq3PXOM/SWaDddqjwMX/zA7N8TrwJk9l zmHnZa4Sr45F8tz31N3wylaJpTgj0VCLuag4EQA2MH53dQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jQV0fkdMBBscabSwerr/JYjHl8BcW ByaPO9f2sAUwRjUw2mSkJqakFimk5iXnp2TmpdsqeQfHO8ebmhkY6hpaWpgrKeQl5qbaKrn4 BOi6ZeYAzVZSKEvMKQUKBSQWFyvp22GaEBripmsB0xih6xsSBNdjZIAGEtYwZrR+eMBScJK1 4vmMHWwNjIdZuhg5OSQETCRWbDvCCmGLSVy4t56ti5GLQ0hgOqPE7yU3GSGciUwSuy4cYQap YhMwkth6chojiC0iICHxq/8qmM0sECPxev8PNhBbWMBUYsaVM2A2i4CqxKZ1z8BqeAXcJf49 Pc8GsU1B4tjUr2CbOYHiJ9/cA5svJOAmsaJnGdsERt4FjAyrGEVTC5ILipPSc430ihNzi0vz 0vWS83M3MYLD/Zn0DsZVDRaHGAU4GJV4eD8InQoQYk0sK67MPcQowcGsJMIreQQoxJuSWFmV WpQfX1Sak1p8iNEH6KqJzFKiyfnAWMwriTc0NjE3NTa1NLEwMbPEIawkztvskRIgJJCeWJKa nZpakFoEM46Jg1OqgbH00FXnVxtu1Sj4KbFtcb9l807jHT9nVAbPfwuHTx32kUwXdNksnpyY YX+UrdLfaUI873E+N1HhNY5NNfuyNHdXHVNokm5WZvW7b18S9+fjrOkWSndjzddqN5S4acXa rNvzxnTjXs+OeUUmFsrMlWFlaZ8OLbzclSHYYHzRqfBbqvKiqJp+JZbijERDLeai4kQA+xQ0 Q6QCAAA= X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQmraUQc4odXvEZcYzliWfEQ98hKZJNTTHxuXeHQefJ6ee3cvHFcn0tROqJPex1a5UhVTcN0 This patch adds FDT support to sound init in CMD. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V1: -Rebased on latest u-boot-samsung common/cmd_sound.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_sound.c b/common/cmd_sound.c index 459d1eb..cfca9dd 100644 --- a/common/cmd_sound.c +++ b/common/cmd_sound.c @@ -33,7 +33,7 @@ static int do_init(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) { int ret; - ret = sound_init(); + ret = sound_init(gd->fdt_blob); if (ret) { printf("Initialise Audio driver failed\n"); return CMD_RET_FAILURE;