Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp594420ybc; Tue, 19 Nov 2019 06:19:49 -0800 (PST) X-Google-Smtp-Source: APXvYqy9TFTsBjTOJ5o0tWaRebnqf83Ba24kVuq7uTqok/89hdxZZzMT6ryMl0sAmS5zU5LTU5fi X-Received: by 2002:a17:907:2122:: with SMTP id qo2mr35731294ejb.12.1574173188991; Tue, 19 Nov 2019 06:19:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574173188; cv=none; d=google.com; s=arc-20160816; b=IXCNmORIWyseKpo2gyT4ZaMOnFgC2JLCSYqsRfdUg+Bd6MpD16MUDnvvBrCC/q1S5H noxngzxj8QmBMm1Fi+ImUes8cP22Y52RCcYFJYdI4JFVHbVfYinf4WYVmIJV/amMHTVK o6I9w+KnG9Cf0ebIFzojTkUpOAjxXJL8yeFkOx1hthSrxR1WxxpA2CEfw+oL87y0MkOH 3ZeaA83OCMBNocWQxLSSHxBV2KKXggdoYE0HReMxKqVi5M4JGPLaJSvRMW4CauTvtzVW NoQYZk/f4p4OfB58NUXtWlBfXlb5NFJ9fZ3diqMOjP9WlfZDu4WrZ8Wevw4kd0dzKGua v8oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bwQFXtwG3dvNeoJmnBTqoP3KLfHxP5spSaknn1sb9Ng=; b=l6M1k0XvigKEDxM/3qMHQkpzPjoEGG3BjfD5gYFv1CBBJvSbd3PbsM2mvEdPmEVMfn E83LD72Xn3wasBGPCxagrHG+42FgxqNd619FggCT1jqm53K0yQ9GhzdSfNN5ipREZ2lO HOIMj+z9a5JO0AmXIZbJYx3g6oeEBvNMkMaoyyjzcIszuFdadGH2JLbIMOAPY5g8WXHm Yuham2FYoYXr6/vQnbXsKRZj08qnyvl2FeIjSjHE3ywyb9TGFGSmFaPQH3DV9ufKgSKs hBjovr2HosU8Ic9qqxgFd2ZHZhkIbmEzl3wceiskvfFIyT1eSKWdfgmelMmw1K5z1sLk TfqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b="f1to4j/Y"; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si13782008ejf.166.2019.11.19.06.19.23; Tue, 19 Nov 2019 06:19:48 -0800 (PST) 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=@oracle.com header.s=corp-2019-08-05 header.b="f1to4j/Y"; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726555AbfKSOP6 (ORCPT + 99 others); Tue, 19 Nov 2019 09:15:58 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:51072 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725280AbfKSOP6 (ORCPT ); Tue, 19 Nov 2019 09:15:58 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xAJE92PH173717; Tue, 19 Nov 2019 14:11:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : content-transfer-encoding : in-reply-to; s=corp-2019-08-05; bh=bwQFXtwG3dvNeoJmnBTqoP3KLfHxP5spSaknn1sb9Ng=; b=f1to4j/Y3bnVaqmjY5v/3oVrWd/yZ/6sxLH1MzfAfQV22MxWRulrTVYLB2iiUyU8yhk+ jcggsbj4hlj8h54yxx32R1AHtu4cq/K1xxLmrLx07eiQRQgbVT4OCUuJtpNsQQGqMXLV 2nIkEBtycPRHO1SFv9uIIKrEfQ2u46HrDOjIaqniihyhU+WWkHbnrFgZy5YBxFNryCNO hm5NiqztqUZYws0MF2XWoL3JFHQtrmkNcX42QXjADE9iM19piepFM3GqGrBotffVQ/vF fm92Fg9/a0MT7nZcXrfgJVNphOTyxjBGqpzUSzf8EVO3qG+LJ6t5yAuBGfH94QCQH3Dt rw== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2wa8htq5af-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Nov 2019 14:11:16 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xAJE7wxn051758; Tue, 19 Nov 2019 14:11:15 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 2wbxm4b3tc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Nov 2019 14:11:15 +0000 Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id xAJEB89R004043; Tue, 19 Nov 2019 14:11:08 GMT Received: from kadam (/41.210.141.188) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 19 Nov 2019 06:11:06 -0800 Date: Tue, 19 Nov 2019 17:10:46 +0300 From: Dan Carpenter To: vishnu Cc: Ravulapati Vishnu vardhan rao , Alexander.Deucher@amd.com, djkurtz@google.com, Akshu.Agrawal@amd.com, Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vijendar Mukunda , YueHaibing , "Gustavo A. R. Silva" , Kuninori Morimoto , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list Subject: Re: [RESEND PATCH v9 6/6] ASoC: amd: Added ACP3x system resume and runtime pm Message-ID: <20191119141046.GC30789@kadam> References: <1574165476-24987-1-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com> <1574165476-24987-7-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com> <20191119123531.GA30789@kadam> <3321478e-de8f-2eb6-6e6f-6eb621b8434b@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9445 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911190131 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9445 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911190131 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 19, 2019 at 07:33:08PM +0530, vishnu wrote: > > > > ? static void snd_acp3x_remove(struct pci_dev *pci) > > > > ? { > > > > -??? struct acp3x_dev_data *adata = pci_get_drvdata(pci); > > > > > > This was fine.? Leave it as-is. > > > > > Actually I was reported by kbuild robot tool about ISO mixed forbids of > initialization so I did this. > You misunderstood the warning. It is about putting declarations after the start of code. (Initializers don't count as code in this context). regards, dan carpenter