From patchwork Thu Dec 7 15:50:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Levin, Alexander \(Sasha Levin\)" X-Patchwork-Id: 121025 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8571655qgn; Thu, 7 Dec 2017 08:30:29 -0800 (PST) X-Google-Smtp-Source: AGs4zMaR2k26Pj/p9wZi35ZIl0kHSGXNCEAAa03mlkatxW910BZNuzLDUNa8LKPOXdYWQpuBxsrD X-Received: by 10.84.193.129 with SMTP id f1mr26667126pld.355.1512664229406; Thu, 07 Dec 2017 08:30:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512664229; cv=none; d=google.com; s=arc-20160816; b=xZiDNJakqdMZE+wX70UVhtK7cvPkOT36OM7H3j/NN7ubO1utOh8gRo51ae9LOeSZTb L0bgxOdC1Lo75Z9BUN23tD6orsJziZhOA8ym4U63z1bI2tgpjbychmKavkJteApFUMyw rF4QEQuKKQoQpIjllM0hFH2Q9zJSWPz4wgjJN4aKQvqGVbjDqb4I+C8lnN94e8bm1d8R 9asd9FjdNnONOUhWLDalCOR7jJ1Suyq3TUtUgcCu4aZyXF6RVH8fGHS/FtZyePk2/p00 NftspuWv3dcEtEWQNqHEGYh/M0yP/rREHFFvFi/0jp4GomE5gIT1yCNu0BUTT0FKC/Cu RiSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:cc:from:dkim-signature :dkim-signature:dkim-signature:arc-authentication-results; bh=hGNQrkDoU5IJHcaOeCRSRX3DGSbzXjWlNv9VwT7em3A=; b=qETr98v43/BJZDVsHeIabcOGnDODEFS+pJQU0x7AhTJBIeEbbWTjMuBlg08Wr1OmiS Y7JtN3gymNA/LZzdXEnjRnD9z039oWjxr4bF0TrT8Kp1MNWLKZi3uXxK0T7RytZah6OW Y18r5DiixNwbo8S1G/6XHCNP0vJECxVmy73xyl1wOSSOnbtk2jZ9USEK+KbgPFSOuDeW nxeU4REpkmgLh1iCJiiGBLrUJiIgvyVTh53GK2AbaY07h3Onq2M5Bt7WvLsDc6nKe+cC nCCnbCWaXQOmoITjod+vtYYQ0onoLdyTbvIKQano27y+lqDG78f0S/TTyApUwEC3aGGR sc4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verizon.com header.s=corp header.b=OJLV2Es3; dkim=fail header.i=@verizon.com header.s=corp header.b=dX67nMem; dkim=fail header.i=@verizon.com header.s=corp header.b=rgiD989L; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=verizon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i4si3938620pgr.266.2017.12.07.08.30.29; Thu, 07 Dec 2017 08:30:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@verizon.com header.s=corp header.b=OJLV2Es3; dkim=fail header.i=@verizon.com header.s=corp header.b=dX67nMem; dkim=fail header.i=@verizon.com header.s=corp header.b=rgiD989L; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=verizon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753343AbdLGQa1 (ORCPT + 10 others); Thu, 7 Dec 2017 11:30:27 -0500 Received: from fldsmtpe01.verizon.com ([140.108.26.140]:62155 "EHLO fldsmtpe01.verizon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932848AbdLGP4W (ORCPT ); Thu, 7 Dec 2017 10:56:22 -0500 X-Greylist: delayed 435 seconds by postgrey-1.27 at vger.kernel.org; Thu, 07 Dec 2017 10:56:13 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512662182; x=1544198182; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=N5hve4TBYr4GNgp8jE4DF0a8cW2XoTETvJaaMk8cwg0=; b=OJLV2Es3gJJ5+GQoRskJHUZrMAOZ7AKKeOA7oMMFfe9PS5kDvraYrvSi 5eRN0ifKVvYjfOMq+Hmdd3nNo8+hIZyjRuqZuphJyUmWAVcKPp5TBcGWA bR9dbjY7i6LKF22t0d5GiUc+W1RxBe5AiZU6ZIJIFhl/I29+Y2krfRAes E=; Received: from unknown (HELO fldsmtpi01.verizon.com) ([166.68.71.143]) by fldsmtpe01.verizon.com with ESMTP; 07 Dec 2017 15:56:12 +0000 Received: from rogue-10-255-192-101.rogue.vzwcorp.com (HELO atlantis.verizonwireless.com) ([10.255.192.101]) by fldsmtpi01.verizon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 15:55:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512662132; x=1544198132; h=from:cc:to:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=N5hve4TBYr4GNgp8jE4DF0a8cW2XoTETvJaaMk8cwg0=; b=dX67nMem45sIqmLleYKPId/XPf4YsFebzXxAoi1ocy+UN5WCYTH+zb7u aiIUypOZ5KNggAIX+FrKVmL53Pl9hhM0ZMzzuQ/xr8culuiY33AW5WK2A hQ34sBSZJH3iS+QjZHl7shKY5MBLYulYwqJpFfFksdpq0UKq9R8sBF/m0 o=; Received: from endeavour.tdc.vzwcorp.com (HELO eris.verizonwireless.com) ([10.254.88.163]) by atlantis.verizonwireless.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Dec 2017 10:55:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=verizon.com; i=@verizon.com; q=dns/txt; s=corp; t=1512662132; x=1544198132; h=to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:from:cc; bh=N5hve4TBYr4GNgp8jE4DF0a8cW2XoTETvJaaMk8cwg0=; b=rgiD989LpLaN6e/7japG3fEfAH373Y3EHPq6Y+y2Znjb/CU3aO3/QQZq 7Ohl3J+tdad8AZXGWf15RD8RJf0Zxt53RUk/V4o0iqeZMXL9TODDC6jiT U2zbPyrRMKwADTvW8RBWiALWs06naTeuast7b+uhULylPdjpzLXT6EqZC M=; From: alexander.levin@verizon.com Cc: Marek Szyprowski , Mark Brown , alexander.levin@verizon.com X-Host: endeavour.tdc.vzwcorp.com Received: from ohtwi1exh001.uswin.ad.vzwcorp.com ([10.144.218.43]) by eris.verizonwireless.com with ESMTP/TLS/AES128-SHA256; 07 Dec 2017 15:55:31 +0000 Received: from tbwexch10apd.uswin.ad.vzwcorp.com (153.114.162.34) by OHTWI1EXH001.uswin.ad.vzwcorp.com (10.144.218.43) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 7 Dec 2017 10:55:31 -0500 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by tbwexch10apd.uswin.ad.vzwcorp.com (153.114.162.34) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 10:55:31 -0500 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com (144.8.22.195) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 7 Dec 2017 09:55:30 -0600 Received: from OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) by OMZP1LUMXCA17.uswin.ad.vzwcorp.com ([144.8.22.195]) with mapi id 15.00.1263.000; Thu, 7 Dec 2017 09:55:30 -0600 To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: [PATCH AUTOSEL for 4.4 093/101] ASoC: samsung: i2s: disable secondary DAI until it gets fixed Thread-Topic: [PATCH AUTOSEL for 4.4 093/101] ASoC: samsung: i2s: disable secondary DAI until it gets fixed Thread-Index: AQHTb3MeUmGCJ30Y3kqIDJ5feNbRDg== Date: Thu, 7 Dec 2017 15:50:34 +0000 Message-ID: <20171207155005.5852-93-alexander.levin@verizon.com> References: <20171207155005.5852-1-alexander.levin@verizon.com> In-Reply-To: <20171207155005.5852-1-alexander.levin@verizon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.144.60.250] MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Marek Szyprowski [ Upstream commit 064970a0aae978073a859aaf0793bfe14762d4f3 ] Secondary DAI in Exynos I2S driver is not used by any of the currently supported boards and it causes problems due to some limitations in the ASoC code. Disable it until it gets proper support both by board-specific and ASoC core code. Also disable IDMA support, which relies on secondary DAI presence. This patch fixes following kernel warning: samsung-i2s 3830000.i2s: ASoC: Failed to create component debugfs directory samsung-i2s 3830000.i2s: ASoC: Failed to create component debugfs directory ------------[ cut here ]------------ WARNING: CPU: 3 PID: 82 at fs/proc/generic.c:330 proc_register+0xec/0x10c proc_dir_entry 'sub0/prealloc' already registered Modules linked in: CPU: 3 PID: 82 Comm: kworker/3:1 Not tainted 4.14.0-rc5-next-20171017 #3089 Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) Workqueue: events deferred_probe_work_func [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (dump_stack+0x90/0xc8) [] (dump_stack) from [] (__warn+0xd4/0x100) [] (__warn) from [] (warn_slowpath_fmt+0x38/0x48) [] (warn_slowpath_fmt) from [] (proc_register+0xec/0x10c) [] (proc_register) from [] (proc_create_data+0x84/0xc8) [] (proc_create_data) from [] (snd_info_register+0x64/0xcc) [] (snd_info_register) from [] (snd_pcm_lib_preallocate_pages1+0x78/0x1a0) [] (snd_pcm_lib_preallocate_pages1) from [] (dmaengine_pcm_new+0xa0/0x1ec) [] (dmaengine_pcm_new) from [] (snd_soc_platform_drv_pcm_new+0x1c/0x28) [] (snd_soc_platform_drv_pcm_new) from [] (soc_new_pcm+0x2f4/0x4f4) [] (soc_new_pcm) from [] (snd_soc_register_card+0xc4c/0xdc4) [] (snd_soc_register_card) from [] (devm_snd_soc_register_card+0x34/0x70) [] (devm_snd_soc_register_card) from [] (asoc_simple_card_probe+0x230/0x47c) [] (asoc_simple_card_probe) from [] (platform_drv_probe+0x50/0xb0) [] (platform_drv_probe) from [] (driver_probe_device+0x2a0/0x46c) [] (driver_probe_device) from [] (bus_for_each_drv+0x44/0x8c) [] (bus_for_each_drv) from [] (__device_attach+0xa0/0x134) [] (__device_attach) from [] (bus_probe_device+0x88/0x90) [] (bus_probe_device) from [] (deferred_probe_work_func+0x3c/0x168) [] (deferred_probe_work_func) from [] (process_one_work+0x188/0x41c) [] (process_one_work) from [] (process_scheduled_works+0x28/0x38) [] (process_scheduled_works) from [] (worker_thread+0x210/0x4dc) [] (worker_thread) from [] (kthread+0x128/0x164) [] (kthread) from [] (ret_from_fork+0x14/0x2c) ---[ end trace bad8db6ee771d094 ]-- Signed-off-by: Marek Szyprowski Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/samsung/i2s.c | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index fd6e247d9fd8..f72b8137bf84 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -1286,6 +1286,7 @@ static int samsung_i2s_probe(struct platform_device *pdev) } } } + quirks &= ~(QUIRK_SEC_DAI | QUIRK_SUPPORTS_IDMA); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); pri_dai->addr = devm_ioremap_resource(&pdev->dev, res);