Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3648879yba; Tue, 9 Apr 2019 01:38:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxHUBG741dEGa7dSVgJP3TNSEwEIueFeZqlnpbAlFvsaaZIctPCBAeMK6V3H5NsCvQ6V/n X-Received: by 2002:a17:902:29:: with SMTP id 38mr12805054pla.178.1554799101813; Tue, 09 Apr 2019 01:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554799101; cv=none; d=google.com; s=arc-20160816; b=fPCo0+RnqECuNlv44XPudwTU2JnpfqpzmviK/xqkMIU6RUaBl05ytt5E4DXsg6AMdQ LWHBu3oQFabBhGtYBgKWuV8T4AeX3tstSKgxgjIJTeT2HMd1TKRUU3bEoJG+NnxKa1P6 cyYNSs3HBgwstIAmohGz3u+jJMFpq9CdK0X39R9V7VeygbH1dollLSkgh7r1j0X/lNIl QVC0Et7B3IOo2h2gEF8mrp/FONkhFKyS0Yrhjs4IhckBXfDxx+gjWHiG0CQ/CpNgmZjz 7zXIPB7uB7242jJzrsSZ+VYB+PsjD9koxhEKaT71t7WpRmVlE9rlAf6JdmO4JOFI3XXz 15vQ== 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:cc:to:from:dkim-signature; bh=yIOi0aXOnk4Ww6rHMC2vDAB6JLRJtoOZy4BXUig/maw=; b=uOoSWKXar5UFbWp9BgM3RUI5n7V9FtxOVOIBIiASj4Aa+EjxG6nuCGAn1K38whXD7o ok4pkNQNx1YRZUUGqJ2NKSfGIquBYPSfxlvtFy90wbSTQPVnRTIn4hX8ean0DslwdP5r Nspw8siWoJ9a95+Arqc6b3pcENmu/rMSKKIvG6HqDNSom7GSB2pQZMwHoFIO7kDpCFKB eNZXzNWjMGAqBwcnG+gWdlk9ri9FK+XuEqmRF7SjTay3Xp48eIlrbbp6g5AynGQTkegE g4tCRv4kPXtiTNeIgBulbJORXIf/nqQtirHEUAFiExwHwqFeuhbG3CEzc2ss3Nu+hMm3 PIhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="s//d2iWU"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y19si5856308pfo.133.2019.04.09.01.38.05; Tue, 09 Apr 2019 01:38:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="s//d2iWU"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726656AbfDIIfl (ORCPT + 99 others); Tue, 9 Apr 2019 04:35:41 -0400 Received: from mail-eopbgr50062.outbound.protection.outlook.com ([40.107.5.62]:51458 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726079AbfDIIfi (ORCPT ); Tue, 9 Apr 2019 04:35:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yIOi0aXOnk4Ww6rHMC2vDAB6JLRJtoOZy4BXUig/maw=; b=s//d2iWUNDoxj79YjldQ5B+CUim78lR/AvTKeZo9N8G10+0Cxf6Ud4p8Rh7+RvjmZWEqhKhNTiV6ljgg+uI/NtZ4uGlTIa+LB6GkN4Z2FahU5XpOcF1zp6BlIGOYei0gcX0LTEfn5LB/QTNYJTGhm423LGS+H/jWOCwtnH4xSgU= Received: from VI1PR04MB4704.eurprd04.prod.outlook.com (20.177.48.157) by VI1PR04MB3982.eurprd04.prod.outlook.com (10.171.182.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.21; Tue, 9 Apr 2019 08:35:34 +0000 Received: from VI1PR04MB4704.eurprd04.prod.outlook.com ([fe80::2594:3cf0:20a2:8888]) by VI1PR04MB4704.eurprd04.prod.outlook.com ([fe80::2594:3cf0:20a2:8888%3]) with mapi id 15.20.1792.009; Tue, 9 Apr 2019 08:35:34 +0000 From: Viorel Suman To: Timur Tabi , Nicolin Chen , Xiubo Li , Fabio Estevam , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Shawn Guo , Sascha Hauer , Julia Lawall CC: Viorel Suman , Viorel Suman , Pengutronix Kernel Team , dl-linux-imx , "alsa-devel@alsa-project.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: [PATCH 1/2] ASoC: fsl_audmix: remove "model" attribute Thread-Topic: [PATCH 1/2] ASoC: fsl_audmix: remove "model" attribute Thread-Index: AQHU7q8zRh1FbGktNEKV0aDW74+Gjw== Date: Tue, 9 Apr 2019 08:35:34 +0000 Message-ID: <1554798876-20653-2-git-send-email-viorel.suman@nxp.com> References: <1554798876-20653-1-git-send-email-viorel.suman@nxp.com> In-Reply-To: <1554798876-20653-1-git-send-email-viorel.suman@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VE1PR03CA0004.eurprd03.prod.outlook.com (2603:10a6:802:a0::16) To VI1PR04MB4704.eurprd04.prod.outlook.com (2603:10a6:803:52::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=viorel.suman@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 32fb50fb-c1f4-4720-c217-08d6bcc65523 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:VI1PR04MB3982; x-ms-traffictypediagnostic: VI1PR04MB3982: x-microsoft-antispam-prvs: x-forefront-prvs: 000227DA0C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(396003)(136003)(376002)(346002)(39860400002)(199004)(189003)(11346002)(6512007)(8936002)(97736004)(486006)(8676002)(7416002)(81166006)(476003)(305945005)(446003)(53936002)(68736007)(7736002)(50226002)(6436002)(66066001)(86362001)(2616005)(316002)(6486002)(14454004)(36756003)(4326008)(2906002)(54906003)(106356001)(110136005)(71190400001)(105586002)(5660300002)(71200400001)(44832011)(186003)(6116002)(25786009)(3846002)(256004)(102836004)(26005)(52116002)(76176011)(99286004)(6506007)(386003)(81156014)(478600001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB3982;H:VI1PR04MB4704.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: erAkZZad/AtxST3YHyiC93GrsR3wN3y5oKHmUIjrD3eNjClG3ktw0YE4TAtp0tmGQoWKQ7x89WvBQdLtTPvEwx+/JaIoamp0guogdLhyKIIbcEwzMhKygFDOBR4ecH9yRXBotuW/y6qyTYs/vQeGKT10lsuMMtHpNcSmUxOzwQkEdMQEGJ0PTDNJHatflgR2ULizBZeNCqreMlY57oRcl9w5Ehm+gksPO0qE4EkdMkHka87DGCaLa9/sSN64cjPgPGecKBPDyx/VhXnLxDYRniDBPscro7R/f4lPCQXVkss1alaGQZCaNuH1rqHmEOqep+svLpVOruTLulNQQCRSUIwZDtVT1EZQPjMkMLY9S3a8ufrwsFT57+V/LhQWF0TyQlgRmUhJllwm1j6QMLNjT7SpPxVWBsIi5cGyaUy3Zkg= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 32fb50fb-c1f4-4720-c217-08d6bcc65523 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2019 08:35:34.3781 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3982 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VXNlICJvZl9kZXZpY2VfaWQuZGF0YSIgdG8gc3BlY2lmeSB0aGUgbWFjaGluZSBkcml2ZXIsDQpp bnN0ZWFkIG9mICJtb2RlbCIgRFRTIGF0dHJpYnV0ZS4NCg0KU2lnbmVkLW9mZi1ieTogVmlvcmVs IFN1bWFuIDx2aW9yZWwuc3VtYW5AbnhwLmNvbT4NCi0tLQ0KIHNvdW5kL3NvYy9mc2wvZnNsX2F1 ZG1peC5jIHwgNjEgKysrKysrKysrKysrKysrKysrKysrKysrLS0tLS0tLS0tLS0tLS0tLS0tLS0t LQ0KIDEgZmlsZSBjaGFuZ2VkLCAzMiBpbnNlcnRpb25zKCspLCAyOSBkZWxldGlvbnMoLSkNCg0K ZGlmZiAtLWdpdCBhL3NvdW5kL3NvYy9mc2wvZnNsX2F1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