From patchwork Thu May 2 10:59:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163245 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5578578ill; Thu, 2 May 2019 04:02:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHSL8xoiI4QV4DkAkaWdRhQcsv4qNzyKrGODpxllXb3kXy8JkOPBivPILbm0/ZJP0U5VwP X-Received: by 2002:a1c:c004:: with SMTP id q4mr1781092wmf.131.1556794930212; Thu, 02 May 2019 04:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556794930; cv=none; d=google.com; s=arc-20160816; b=A1SgukV36l6GYFydFTdM6TzIeL++esvW/5x9wRRKXP1Us3ejvZISVl7pHc0lYYy31u az1nzk9LqB7irLXvfWe3VnDhmCOUglo2BV7ZHGqULrujzontmjR7QqkmIPClrRzbLJ37 CvIRBFJ8IkZLC9EJ5ETJErJ6lnuqHMHSNBs0oP+HhS0d8PKxNxEjQRapZ/E99mEW0KVA oJgXyCwicpCcnF8zDt0eNSSpKq08pfBdSnj8q/dNv4qvhAZSnfzBPOeJDoFFbW/IVv/r 2ms0kKST0IIMghedlzMirKejAOjXvLHgFROlBCTDiCjucgzqA2q9EH7LWm/WUsRifpE1 HaFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=7AqEZZFmTTDfyzDMAX98hpoL5lK89sA9XXmppkiPU6E=; b=CQzDRL7HSjxA9hbXp1dx9r+9hq7XKSJP4qwU6L1R4dvNXPAPUeiwQkHCHrxlJ7zslJ zIR689klfxZWBfxuE/gBxy8t8NsmC4I1DRcOtNqfqxJ7VuFTE1lOgYggbbQ5+nAtXANp Aa61Ek42OGg8hqS67m8JFP9yq3PoXJ2BYw1ALFqrAdF564+r4VX9seQuM4gMFbBDC/vZ oqdI67UmqoR5tlEwPIxlZGHKuBT9FhSC+KyAVvJ9YmBHF3/EpFelnbEg5zm5AJvOyOkI t2EPfmR9rvvDSwcIv4xFBoDHIZ6nn8LcIA38qy3O67jeKe7iPth9s6ULYhmDByImQ/5B iGDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=hxxAy2o2; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=J22u0mYx; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id e7si28811628wrj.109.2019.05.02.04.02.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:02:10 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=hxxAy2o2; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=J22u0mYx; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 425DD179D; Thu, 2 May 2019 13:01:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 425DD179D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556794929; bh=nUA/nTe5eUhqfh1XXQzs8M5srIY3P+rIpr81up1XQ/Y=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=hxxAy2o2u6FHg2SfOFwGyN8S7sglajGrvsY35II2I75fZPoqlxy8C66AGaHBVtaEn SoltbYs4XA9il29ueHbthjNdefzoFNw+Y8a2i751cLbEuuzwCcgGblDCFRwAtvzv3S ztt92ga+6cZEeoQiADIS2Os1NzmckhPLHcp69enY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 77F40F8971A; Thu, 2 May 2019 13:00:23 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id A33CFF89693; Thu, 2 May 2019 13:00:19 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CAD78F89693 for ; Thu, 2 May 2019 13:00:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CAD78F89693 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="J22u0mYx" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C1C132089E; Thu, 2 May 2019 11:00:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794814; bh=895fio07835NYHHRyiZHbmTJnGQkN7WJR00Qv1UCV4E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J22u0mYxcdRaAI4AxmfAls0Da0bRJb/quhWbrcW2ziGzCOGUAZM4ydB2skMaQMRHw 0R+1wIJCaBl6qRXmAoZvPz6YzqNA65QE6vZqtus8aFKfc8tADP/mz+qrDoVihJAGnK SHZjwj7TecEXmfvnqyUQtf0bB0AhOcCr1XD7SQRg= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:17 +0530 Message-Id: <20190502105930.9889-2-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 01/14] soundwire: fix kconfig help format X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Move to help format instead of --help-- as that is not recommended and this makes file consistent with other instance Signed-off-by: Vinod Koul --- drivers/soundwire/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/drivers/soundwire/Kconfig b/drivers/soundwire/Kconfig index 84876a74874f..53b55b79c4af 100644 --- a/drivers/soundwire/Kconfig +++ b/drivers/soundwire/Kconfig @@ -28,7 +28,7 @@ config SOUNDWIRE_INTEL select SOUNDWIRE_CADENCE select SOUNDWIRE_BUS depends on X86 && ACPI && SND_SOC - ---help--- + help SoundWire Intel Master driver. If you have an Intel platform which has a SoundWire Master then enable this config option to get the SoundWire support for that From patchwork Thu May 2 10:59:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163246 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5579513ill; Thu, 2 May 2019 04:02:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWE1F9TFu0UVajAJ7gRmrfipm27GE6jxLFT6WeUk8p0xWzQq9IAaQO2NDjKYZoRIaqtFEn X-Received: by 2002:a7b:c04b:: with SMTP id u11mr1813847wmc.95.1556794974431; Thu, 02 May 2019 04:02:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556794974; cv=none; d=google.com; s=arc-20160816; b=ALoMCh97cACwU1BC+ndcoP6cJzItWLOEZScqiEGZN4BqRt2XHXCk8TP6h2ru6ucp8Y 1tOpLdXbNoDLbeJssfqG5hokcqNKtzKPwolPcTzVvvGPKJf97ZScCFPACzurvVF0e9iz 6PqtZV6RP4z2Arl8vwGqTQaw8sFcSp3uRaRtDCcJ6G0so3KwxSnm651Mi/SxLO4E+RX9 TmhsZzI61SY0iRoIZIgTY22RRZABe6f22Oqm75+v1o8sBifHrJ/RWdcZq1Ak9vvKyRJA ykO9TqZfva4CMAK0quBsSNhA6P76N384h7R6wF4I7CtgsY2Ln3GmzjBCxnox/lmupNyl lnjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=1ZTE1q8cSllASVcaEKcm20mOIOg74FwwL+dRKn8eo3Y=; b=Qvkv/7A7M9exbm8RW5840v5aa+1s8tbaXD6IK+yIOEQTahfSZFsWvRQECkAQimg5FL OG92Y8XLKb2BN2+jy5uF2X5ER+u/6919o0D3rnrRO8WFf+3Q8Nw41/JS7TzAwHTE6UQn Af7C3zzIj8lIPkCOafUtlADjI2VTcwMAywmdVFiNqIFqd10y3tAnu0SxoQ9rEnXl80fO GYMYUMEt01GI8kP2e2JFWEyhMpDbkVlM3vJxdXl8duUb8bcDZiEG6Z7wwQkUlo4qTYMp kcWtmynRt0b+JE9S1eJDg5ifvJIyp2rfGKCqwuNobUp5aFir4x+DtL6RiP911gY0Og/h E7EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=Oo82NAPl; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=ZlGWY5wN; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id y19si2448024wmd.111.2019.05.02.04.02.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:02:54 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=Oo82NAPl; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=ZlGWY5wN; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 6D88B17AC; Thu, 2 May 2019 13:02:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6D88B17AC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556794973; bh=lyo1Spgk7RAemDjfCkEqM5aRBF/rgTjpmVrUsV97uKY=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Oo82NAPlo2wcxdm+y26t3xkOyGYYkPTI8KicCL7uX90yw7fk1vlGLGQ+WnMC3W9eL NBXj8E7T28RrfrOJVjljPZuPX2K062bRvIIuX1WVePwMo6MBq7UNxDSSY2cH9PWBav k5UA/m2LbUfv9SesaBNfn0zLSaXkHc/VN/ETI0MQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 7AA0FF89725; Thu, 2 May 2019 13:00:25 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 08A2CF896C7; Thu, 2 May 2019 13:00:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8036BF896AA for ; Thu, 2 May 2019 13:00:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8036BF896AA Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZlGWY5wN" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D379B20B7C; Thu, 2 May 2019 11:00:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794817; bh=iS2hVzhzVR6TtoehIvAQ1KUG3qW3EM01lIsvom4urUY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZlGWY5wNdju3H0I1w5Do4lMDwj/Mwtahm8fQhOkTIz1odNZdbGrzbBQkG6K/Y56vL liu1tAeBBZodrxBR2wIrFeXivaOZCog3zZ2Vs4syaAl3c7l7myhH+mDOGCVxDam4Gi ++wwYFriMSqiYQfOE4rdRWwdlXYlEKspXM5Kr/j0= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:18 +0530 Message-Id: <20190502105930.9889-3-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 02/14] soundwire: fix SPDX license for header files X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Some more headers had C++ style SDPX line, fix that and change copyright so that it is consistent with rest of the code in subsystem Signed-off-by: Vinod Koul --- include/linux/soundwire/sdw.h | 4 ++-- include/linux/soundwire/sdw_registers.h | 4 ++-- include/linux/soundwire/sdw_type.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h index df313913e856..d9102af5e26c 100644 --- a/include/linux/soundwire/sdw.h +++ b/include/linux/soundwire/sdw.h @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) -// Copyright(c) 2015-17 Intel Corporation. +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ +/* Copyright(c) 2015-17 Intel Corporation. */ #ifndef __SOUNDWIRE_H #define __SOUNDWIRE_H diff --git a/include/linux/soundwire/sdw_registers.h b/include/linux/soundwire/sdw_registers.h index df472b1ab410..e75b2e3cf93d 100644 --- a/include/linux/soundwire/sdw_registers.h +++ b/include/linux/soundwire/sdw_registers.h @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) -// Copyright(c) 2015-17 Intel Corporation. +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ +/* Copyright(c) 2015-17 Intel Corporation. */ #ifndef __SDW_REGISTERS_H #define __SDW_REGISTERS_H diff --git a/include/linux/soundwire/sdw_type.h b/include/linux/soundwire/sdw_type.h index 9fd553e553e9..b7e198a035c9 100644 --- a/include/linux/soundwire/sdw_type.h +++ b/include/linux/soundwire/sdw_type.h @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright(c) 2015-17 Intel Corporation. +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright(c) 2015-17 Intel Corporation. */ #ifndef __SOUNDWIRE_TYPES_H #define __SOUNDWIRE_TYPES_H From patchwork Thu May 2 10:59:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163248 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5580269ill; Thu, 2 May 2019 04:03:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNRmxMuKUuNhbNvfcz7O1Wnroyph4yldQQNSvTY2bKdPy2UC41ggUwTXEGBBCi0Z9cVGbi X-Received: by 2002:a1c:b646:: with SMTP id g67mr1928756wmf.125.1556795012854; Thu, 02 May 2019 04:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795012; cv=none; d=google.com; s=arc-20160816; b=W2XI0mpP1hzprofdnuRBepMoL7iCToGIvqtEJv47lk4yxWALvS0YYYt2BgF992TyQw oO+mMUzamycxjWS7v2/whVekhot6ixezlBkwNpkarJuM27RxFqQdgBCekdTrHnTmqz85 M9dNAxZSStJEbiynTCOfDpfcRBhtBvUWK1KoeU49rIr2ZQ6gDtunNtUkiu9zrYdE88lw WGgvLnOafcQtzxxFTrmCqnwXr8zeLX4BurYsV7d53fokQQFbgRUUpXOz9aUML8f2ezFc Ng1VwGGoWtj4v4Q1wqGrdhzj/4sb8QE3gjJCss/RQ4CwbY+0DWFfDLKHbE9DGCqFtnzl AhOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=qtt9jjUnSEKLf6jIUrCCDvTRIcS5ABmyxW1FlDqa8d4=; b=MWcLKf4t4VB1gvOT3nFSEAmnBnVi8kp37DJ3Ow0lFPRe1rwRdvT7pzA6owW3rhedzJ 9u9dQRwccyQ1pBozyusrMRCzI2q8GZv2SSWbRQgEwfwoOi/CFMeCgnYK4WtZm0RojCKO DwLpx1RCT9GnVccYcNj5TsLMdOv0YF48Mcla8zJadUZOHsE2FnPVJiRRNprI+0/6baTL IfmmKbpK0nSuz/L8MMO4Ln1j63FACu4RGTj6qdfQy7psLqHGnjW0qzlhMuwjSECvxBtc eres6bXD48LtKNESl0h6jVDN9OfmtfXmqNDRhRm5NxySxpURo9yt6xsU7hieptmpJBlx x+ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b="WUtVV/j+"; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=uecHq9if; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id y15si1074735wrn.154.2019.05.02.04.03.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:03:32 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b="WUtVV/j+"; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=uecHq9if; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0D6B917B5; Thu, 2 May 2019 13:02:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0D6B917B5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795012; bh=6HPw6Cx9xpzHD9xuQAbDIBdzo7V+4Y5IxocwhRjS+vc=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=WUtVV/j+WTwIzTFhUJhsk9CzTMDvrcxdQtVV+oNEiGSO71tlw++04goiBPO6SCOK1 WXlqHuXMwIKfiN5DUp9dwfZ2uO47eQPsVP6eHNnjt2eD4IzmLezYqiMFy0tGclev6V uyzWb0mYPtCeTw/cImTyTEGLEhtLJtbPdk8M6NM0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8D1E0F89721; Thu, 2 May 2019 13:00:31 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4065EF89723; Thu, 2 May 2019 13:00:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7D1A1F896C7 for ; Thu, 2 May 2019 13:00:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7D1A1F896C7 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="uecHq9if" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CBCB220656; Thu, 2 May 2019 11:00:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794819; bh=PceZqKxpILQbnDJIvzUWSkhuFyZPh5ZmM2KcqpLADX0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uecHq9ifm5zlW0ahmgvJelkLVQsNh0JLTPANbq8mBj409zty342CApHXJmrS8c7nt GTv/GQnFr4BVqRxBpTi/vO5jl0KwhbpJMMZgvGseschqzGgCt3INnozqQb/sdxGOGO tJfRlV+FzJHe4oX30Dl4SZ/RoEwEflkJXlPC12n0= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:19 +0530 Message-Id: <20190502105930.9889-4-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 03/14] soundwire: intel: fix SPDX license for header file X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Some more headers had C++ style SDPX line, fix that and change copyright so that it is consistent with rest of the code in subsystem Signed-off-by: Vinod Koul --- include/linux/soundwire/sdw_intel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/include/linux/soundwire/sdw_intel.h b/include/linux/soundwire/sdw_intel.h index 2b9573b8aedd..0848f9d38bcb 100644 --- a/include/linux/soundwire/sdw_intel.h +++ b/include/linux/soundwire/sdw_intel.h @@ -1,5 +1,5 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) -// Copyright(c) 2015-17 Intel Corporation. +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ +/* Copyright(c) 2015-17 Intel Corporation. */ #ifndef __SDW_INTEL_H #define __SDW_INTEL_H From patchwork Thu May 2 10:59:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163249 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5581134ill; Thu, 2 May 2019 04:04:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRWkuKMFnv8X90xvYJ1bIQuNgjBwmtZBCozxLEfO2FVmNBJchSyQGvwOkI5Zhs8erozM89 X-Received: by 2002:a1c:5f02:: with SMTP id t2mr1889548wmb.19.1556795054332; Thu, 02 May 2019 04:04:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795054; cv=none; d=google.com; s=arc-20160816; b=luoushNrRytaUV5na2RREXc33/XxYSBrvIyuF+vRlUcJtk5PxPCvjc46KHVcBAO0Ip yawUVc3zcqEq/ZXyncUw+rbscIlBeGKZvI4ebLq8MuWC/fb44q27Buynwa8R8oAKRPZ4 ncKFWzTR58Ja+mAx2p2cVUyVF5xXfeayMBgxs334PrJEG8epybCjz1rx9I7YPlvD1NHE oT6LXZ6btLsaqyKZ76WqSDSD1MNZk2XOAmuC+deoma8mG9L0CgzhSanIVRqPJXT59+n0 JSPeMPtBzuRFW6dEd6nR/GFD0+ouCW7Yzejy/Kco0NrXDzgBgSeSdZs3zjJB16V6d8gm fajg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=n14MjQqF5m1egsHTLrCfS3Hgtxua1CwEKAx5odxbMWc=; b=Lu8QRBZWIUKbp4AsNT86/Bt6DJjPbd2G3J3wwoYUKXNzIuy2U77Lz3hmzAVxW0Z00Q oqJjzKw2uaY8u1Fp8hSbVnZrzLMlNqy1IFI1XGf2eBLfJPzXDa2bZF1LMMoQpgLXeb+Y uSP8I5tocWVGegq6A7eXtJo1Yuebo/KR2KvTkecqw66kYUNnQNElw36rp2gfo/KnWDeo nM9b4YZ+/qVSrJHHV0ZJ5xtY1SNVV/UEXWc2hOhQYm8UA9nS45UyH9S732bZti9bNgFw jM7fAxhcjQxcOtBlQF/JdkwWo2IIVi9kxj7hGvbInvKP9DR4Ld6zf9KhznV7WUtAh9n2 xzMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=XgMJETiI; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=MRQn2AQ1; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id p11si8720339wrq.151.2019.05.02.04.04.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:04:14 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=XgMJETiI; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=MRQn2AQ1; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 71DB317A2; Thu, 2 May 2019 13:03:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 71DB317A2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795053; bh=1ZtIpCw7WUQNjaM97g4e6S9ow70HkFWE4pnsbwPEO/A=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=XgMJETiIqUvGtDYCYMkNmVYqhAgJKXS+jqAbK+yTtcjE0JomLojoSDRYthJ5gxpoF 3ozw3bMwX3RY82dA5Uf6upPJE9noPY1TX3DqrPHDy1u5sBiKVgt043SnXr+HqKdBNJ fV9M5roOPwlwfY55vOciCny0Y1ikuqjNyehwWCuo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E9636F8972D; Thu, 2 May 2019 13:00:33 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1F5B0F89729; Thu, 2 May 2019 13:00:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CA77BF89721 for ; Thu, 2 May 2019 13:00:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CA77BF89721 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="MRQn2AQ1" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 802502089E; Thu, 2 May 2019 11:00:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794822; bh=VXI0Bu+4xZw2lgwtPnmOchgyaVay97+dnnJeeDSEPjc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MRQn2AQ1pwpZkBzImG3xPPnVXHrPGb6AIHZ60j0sS04TJFtI10cNviKBgl8jztKQb YUrtiNuxIAxUxSqs0rvbHMEVr/RF9YZ6f/Ih8IOi9mQ4SLy8C2Z6juxnqcECYPFOeS c49Wl3WNl1ScRQqafZCpuEuuM/Vb/Wgz0Uw9vq8A= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:20 +0530 Message-Id: <20190502105930.9889-5-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 04/14] soundwire: remove empty line before/after braces X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Linux code style doesn't expect empty lines before or after braces and gives warning: CHECK: Blank lines aren't necessary after an open brace '{' CHECK: Blank lines aren't necessary before a close brace '}' Fix these instances in soundwire core Signed-off-by: Vinod Koul --- drivers/soundwire/bus.c | 8 -------- drivers/soundwire/mipi_disco.c | 6 ------ drivers/soundwire/stream.c | 8 -------- 3 files changed, 22 deletions(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c index fa86957cb615..e2ee305905a6 100644 --- a/drivers/soundwire/bus.c +++ b/drivers/soundwire/bus.c @@ -391,7 +391,6 @@ EXPORT_SYMBOL(sdw_read); int sdw_write(struct sdw_slave *slave, u32 addr, u8 value) { return sdw_nwrite(slave, addr, 1, &value); - } EXPORT_SYMBOL(sdw_write); @@ -414,7 +413,6 @@ static struct sdw_slave *sdw_get_slave(struct sdw_bus *bus, int i) static int sdw_compare_devid(struct sdw_slave *slave, struct sdw_slave_id id) { - if (slave->id.unique_id != id.unique_id || slave->id.mfg_id != id.mfg_id || slave->id.part_id != id.part_id || @@ -467,7 +465,6 @@ static int sdw_assign_device_num(struct sdw_slave *slave) /* Clear the slave->dev_num to transfer message on device 0 */ dev_num = slave->dev_num; slave->dev_num = 0; - } ret = sdw_write(slave, SDW_SCP_DEVNUMBER, dev_num); @@ -508,7 +505,6 @@ void sdw_extract_slave_id(struct sdw_bus *bus, "SDW Slave class_id %x, part_id %x, mfg_id %x, unique_id %x, version %x\n", id->class_id, id->part_id, id->mfg_id, id->unique_id, id->sdw_version); - } static int sdw_program_device_num(struct sdw_bus *bus) @@ -677,7 +673,6 @@ static int sdw_handle_dp0_interrupt(struct sdw_slave *slave, u8 *slave_status) } do { - if (status & SDW_DP0_INT_TEST_FAIL) { dev_err(&slave->dev, "Test fail for port 0\n"); clear |= SDW_DP0_INT_TEST_FAIL; @@ -754,7 +749,6 @@ static int sdw_handle_port_interrupt(struct sdw_slave *slave, } do { - if (status & SDW_DPN_INT_TEST_FAIL) { dev_err(&slave->dev, "Test fail for port:%d\n", port); clear |= SDW_DPN_INT_TEST_FAIL; @@ -867,7 +861,6 @@ static int sdw_handle_slave_alerts(struct sdw_slave *slave) for_each_set_bit(bit, &port, 8) { sdw_handle_port_interrupt(slave, bit, &port_status[bit]); - } /* Check if cascade 2 interrupt is present */ @@ -1035,7 +1028,6 @@ int sdw_handle_slave_status(struct sdw_bus *bus, if (ret) dev_err(slave->bus->dev, "Update Slave status failed:%d\n", ret); - } return ret; diff --git a/drivers/soundwire/mipi_disco.c b/drivers/soundwire/mipi_disco.c index 2bf4046e68b6..c1f51d6a23d2 100644 --- a/drivers/soundwire/mipi_disco.c +++ b/drivers/soundwire/mipi_disco.c @@ -63,7 +63,6 @@ int sdw_master_read_prop(struct sdw_bus *bus) nval = fwnode_property_read_u32_array(link, "mipi-sdw-clock-frequencies-supported", NULL, 0); if (nval > 0) { - prop->num_freq = nval; prop->freq = devm_kcalloc(bus->dev, prop->num_freq, sizeof(*prop->freq), GFP_KERNEL); @@ -90,7 +89,6 @@ int sdw_master_read_prop(struct sdw_bus *bus) nval = fwnode_property_read_u32_array(link, "mipi-sdw-supported-clock-gears", NULL, 0); if (nval > 0) { - prop->num_clk_gears = nval; prop->clk_gears = devm_kcalloc(bus->dev, prop->num_clk_gears, sizeof(*prop->clk_gears), @@ -197,7 +195,6 @@ static int sdw_slave_read_dpn(struct sdw_slave *slave, nval = fwnode_property_read_u32_array(node, "mipi-sdw-port-wordlength-configs", NULL, 0); if (nval > 0) { - dpn[i].num_words = nval; dpn[i].words = devm_kcalloc(&slave->dev, dpn[i].num_words, @@ -238,7 +235,6 @@ static int sdw_slave_read_dpn(struct sdw_slave *slave, nval = fwnode_property_read_u32_array(node, "mipi-sdw-channel-number-list", NULL, 0); if (nval > 0) { - dpn[i].num_ch = nval; dpn[i].ch = devm_kcalloc(&slave->dev, dpn[i].num_ch, sizeof(*dpn[i].ch), @@ -254,7 +250,6 @@ static int sdw_slave_read_dpn(struct sdw_slave *slave, nval = fwnode_property_read_u32_array(node, "mipi-sdw-channel-combination-list", NULL, 0); if (nval > 0) { - dpn[i].num_ch_combinations = nval; dpn[i].ch_combinations = devm_kcalloc(&slave->dev, dpn[i].num_ch_combinations, @@ -354,7 +349,6 @@ int sdw_slave_read_prop(struct sdw_slave *slave) if (!port) { dev_dbg(dev, "DP0 node not found!!\n"); } else { - prop->dp0_prop = devm_kzalloc(&slave->dev, sizeof(*prop->dp0_prop), GFP_KERNEL); diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c index 166b0c16003f..032a326a96d7 100644 --- a/drivers/soundwire/stream.c +++ b/drivers/soundwire/stream.c @@ -771,7 +771,6 @@ static int do_bank_switch(struct sdw_stream_runtime *stream) if (ret < 0) { dev_err(bus->dev, "Bank switch failed: %d\n", ret); goto error; - } } @@ -818,7 +817,6 @@ static int do_bank_switch(struct sdw_stream_runtime *stream) error: list_for_each_entry(m_rt, &stream->master_list, stream_node) { - bus = m_rt->bus; kfree(bus->defer_msg.msg->buf); @@ -985,13 +983,11 @@ static void sdw_slave_port_release(struct sdw_bus *bus, list_for_each_entry(m_rt, &stream->master_list, stream_node) { list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { - if (s_rt->slave != slave) continue; list_for_each_entry_safe(p_rt, _p_rt, &s_rt->port_list, port_node) { - list_del(&p_rt->port_node); kfree(p_rt); } @@ -1017,7 +1013,6 @@ static void sdw_release_slave_stream(struct sdw_slave *slave, /* Retrieve Slave runtime handle */ list_for_each_entry_safe(s_rt, _s_rt, &m_rt->slave_rt_list, m_rt_node) { - if (s_rt->slave == slave) { list_del(&s_rt->m_rt_node); kfree(s_rt); @@ -1070,7 +1065,6 @@ int sdw_stream_remove_master(struct sdw_bus *bus, list_for_each_entry_safe(m_rt, _m_rt, &stream->master_list, stream_node) { - if (m_rt->bus != bus) continue; @@ -1492,7 +1486,6 @@ static int _sdw_prepare_stream(struct sdw_stream_runtime *stream) dev_err(bus->dev, "Program params failed: %d\n", ret); goto restore_params; } - } ret = do_bank_switch(stream); @@ -1693,7 +1686,6 @@ static int _sdw_deprepare_stream(struct sdw_stream_runtime *stream) dev_err(bus->dev, "Program params failed: %d\n", ret); return ret; } - } stream->state = SDW_STREAM_DEPREPARED; From patchwork Thu May 2 10:59:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163250 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5581806ill; Thu, 2 May 2019 04:04:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPIfq1A+89pqqv63hFL6tuZFGCRC7TZESH2gAz3Z8IaCoR1xCzP8kFOoAYM1vynXJkJoJ4 X-Received: by 2002:adf:c993:: with SMTP id f19mr2453348wrh.246.1556795087241; Thu, 02 May 2019 04:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795087; cv=none; d=google.com; s=arc-20160816; b=Tm1MkfCUREiMrvoNrXIi1kkeKCqBmd3/5wO6+IKZlrbAbWW79HJGx0JoM14Ldl6j78 M7hFwIX4xusfXwhG0e7dXWt7b7VVlwtuucCW9okrhBOBMoQ1AxlI/gX0HP7+L12aWyuB FYuTeHr+ng3bumFAwiOF3xcF8r315Izuyja7zOmkHal1zT8Bm0RAY9CzmPKJhWzE5VCG i9hLULMPAcIvnozydCKnnJO32m9xMTzhEokCEZjKSzuq/VuFNrXtInn+x1OReQVPnika 3oEZyaemhHFwNTXRdp53F2AFfZ8Pio52nDDgqkqxZBAFPTyn1xcoiu6TQFYFrFda3NfI txlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=QVlvBaYsgdLtgdk6NjDAOcvNYb1CoIoBVZmF514D3DY=; b=1LCPLBcAj59xbTn3hBGRusC+ZChhUjqzNe1OJdL3DoVxGlTBUv1LestvrgJCc/F43Z peJd7tpZZ3bfiZJM/7d/K4AiC38oPSloAjzxLxd/pn4JdZxeJD95/JJyGpBFvwphutmd Ts3kLc0A7+W8AdWyHbQmPsEgnYLZdK+exbWwiYPyO1aeFPKMBUPZRRhn3qS+LkCWvLo/ f1TJO91FXgA4gBOQssHZgz4Bm08rtexXkwW+Mduz9vC2Y+WLuYElPXFfIGWiKZDbGLEF YIFJ4ZGZ77VWw+hsLzlG3QKbxrBdK2hYj6leUgLFPhAHG1pS01fMpnjwnMoMi2+FKG6v DWIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=sfDYSs5E; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=DRFzqxhR; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id b143si4840311wmb.38.2019.05.02.04.04.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:04:47 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=sfDYSs5E; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=DRFzqxhR; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 6F01C17B7; Thu, 2 May 2019 13:03:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6F01C17B7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795086; bh=+dwwh4UPWYxGBYvSEscCUOFglTQoIqlACYT4qmBJ62g=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=sfDYSs5EC/7bRtiU1S+y0KcE2Ap3C7keXSTgBeuO8f0XMOxwoABlYtYny7Owq5Fti pTsCKpLZOHKwAJD3LfVNAUDKBrI9yMb9F/YoP5zpJkII5cT2lTSCt0QLe997YnHNt2 lEU+Xn/9ocIPDAgDnxYzkiahKNdqRohIxSlfNyvM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id BE650F89733; Thu, 2 May 2019 13:00:35 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 82501F89729; Thu, 2 May 2019 13:00:29 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 73C42F89721 for ; Thu, 2 May 2019 13:00:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 73C42F89721 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="DRFzqxhR" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0D7C8208C4; Thu, 2 May 2019 11:00:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794824; bh=ZNiQ8qA4IkPRhpHVzHsypdbc3aNR36bpp7cl0S7HySA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DRFzqxhR+Vic/z9pRbKl0Lb5fdjjGy0ngwnvkcJZiKONQE4vB3Bu5dr3kHE791dnU FHDqyAOCUBO2RESXq4AlkqNfyNi+gSlO9mHU8Qvr3fY5fmxatr4iylc3XxGxZiYMja uCfPsOvzCx4NCe6yLMW2Jt94jTagRWEy+4Zxcph4= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:21 +0530 Message-Id: <20190502105930.9889-6-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 05/14] soundwire: cadence: remove empty line after braces X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Linux code style doesn't expect empty lines after braces and gives warning: CHECK: Blank lines aren't necessary after an open brace '{' Remove the empty line in cadence lib Signed-off-by: Vinod Koul --- drivers/soundwire/cadence_master.c | 1 - 1 file changed, 1 deletion(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/drivers/soundwire/cadence_master.c b/drivers/soundwire/cadence_master.c index 0fdc17b995fc..682789bb8ab3 100644 --- a/drivers/soundwire/cadence_master.c +++ b/drivers/soundwire/cadence_master.c @@ -574,7 +574,6 @@ irqreturn_t sdw_cdns_irq(int irq, void *dev_id) } if (int_status & CDNS_MCP_INT_CTRL_CLASH) { - /* Slave is driving bit slot during control word */ dev_err_ratelimited(cdns->dev, "Bus clash for control word\n"); int_status |= CDNS_MCP_INT_CTRL_CLASH; From patchwork Thu May 2 10:59:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163251 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5582818ill; Thu, 2 May 2019 04:05:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDV8KWXLKLeYGQjv7o2ThLxs5npPKFNvSYv0s9rRFkHOqmzWqxu770HRxOHxqlOfccbw0H X-Received: by 2002:a1c:4905:: with SMTP id w5mr2016778wma.88.1556795137741; Thu, 02 May 2019 04:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795137; cv=none; d=google.com; s=arc-20160816; b=UN8HhGLz56hOModsLZxsKp+i/DFBJHBQ8oxCptZuvU8hTy9KxpGpbCw8cmZlODg9H2 Q0Jbs2Xh776bi1fVCkkLki6oKEkWQDv62KueMPTt2I8nk+abWd4GbK1g9j+X2eNN788J 75BRK58IDT2q4FscY7UqBMKCi78cv7rRwP1YPapPwbRSdKDecfaaCRYzZH+f31AD+62N IPwOt0iGZbqg92Lw5ULzX6LY8Vr+0O2oN1QKZFf6HAQiSY3jMrsjvSxrFFFLvzE13xMM o4zwy5lT05NNL6/D+J665RkL66JFVqgYakSDfpe8UmHVImLOPO3hZK7pojGhAXQb53bh aCiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=4F2kVNN5IaHG3O4tlEAiexuKVPQjblJcRwXyUmiv4+k=; b=fwcu2bq2rVDJw8qVsWg5WqdtCUMZlvHcZ7eBF7o/DCdSjjrH9AjCdYIUsvzS/EhpMI yIuzCnwx4+hGe+MgVEhpUv1Jv440n+j2Q/vppXR0vR7ZDa3wQCPYQJ3bfWf1bU8jN6x+ ZOm0IKcUfxZPf2RhBWYH5ewfktM5ynHEpTXmfxPdjU81V8oLcqQE/bFg8t+3BaZkwiaQ 5imOzaV2SaKD65QLEhIh3PKlYA0uhnc3U86J8yN0SPaR+7Mnnsm6yxtvjAs8Dwc3/gJA w/8Wa4EO9NWig9v3/OEcH9g8l9orAvkr4o/nVFMJQN/sIRfI66x1OgHt6cgiHIr/8kVq tu8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=VTmW3LLR; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=OQol+r8o; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id s8si31555794wrn.0.2019.05.02.04.05.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:05:37 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=VTmW3LLR; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=OQol+r8o; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 009D917C4; Thu, 2 May 2019 13:04:47 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 009D917C4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795137; bh=Hc9VfRp03dvXrIa67r2VbrDM8arCr0e4Xqd3TR8Vs88=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VTmW3LLReQ0BfhVVBaPAN62dy0BlfHu995+B6IMnanDsReDWZVgwhLdynNc/k8F2I 9JBsRzW9XXKo/iYufSoa/Z1IhGeYngCIHL84E6e5W9B1krTp7TkPXLNdhLOdy1Gb0N VwVoCODtL4RVHOUW/UoIErA4AZ+DMwGl9MxP30xo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id BDD87F8973E; Thu, 2 May 2019 13:00:37 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 35188F89729; Thu, 2 May 2019 13:00:31 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C2674F89727 for ; Thu, 2 May 2019 13:00:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C2674F89727 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="OQol+r8o" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6015020656; Thu, 2 May 2019 11:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794827; bh=doda7oyepYYxLRrCGLuf8t9CrC+G1hJK0V7GlC/2Q5U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OQol+r8onKBqWlLVaogMse6OoOpvsQN1XnbO5WjlSVfgmlW7Feynh1YjRatHk3Sy3 8DLx2fi/qqbCpAFrFaonHDGXIyyBjskbPZKiP8ABhYVbXtTifxkxUK1x/csw5kmRub yb0oN5yg/rd/5RWag2B+wGr9tU+ImrC0I6KptzvQ= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:22 +0530 Message-Id: <20190502105930.9889-7-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 06/14] soundwire: intel: remove empty line after braces X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Linux code style doesn't expect empty lines after braces and gives warning: CHECK: Blank lines aren't necessary after an open brace '{' Remove the empty line in intel module Signed-off-by: Vinod Koul --- drivers/soundwire/intel_init.c | 1 - 1 file changed, 1 deletion(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/drivers/soundwire/intel_init.c b/drivers/soundwire/intel_init.c index 9ad6045720c4..d3d6b54c5791 100644 --- a/drivers/soundwire/intel_init.c +++ b/drivers/soundwire/intel_init.c @@ -106,7 +106,6 @@ static struct sdw_intel_ctx /* Create SDW Master devices */ for (i = 0; i < count; i++) { - link->res.irq = res->irq; link->res.registers = res->mmio_base + SDW_LINK_BASE + (SDW_LINK_SIZE * i); From patchwork Thu May 2 10:59:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163252 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5583632ill; Thu, 2 May 2019 04:06:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzM87a4XW0xsvZh2s86dSAvDRnhjt9Hr91aIHad6Nb+g8Y1RQS3WqGh7UEzqwuNF+hhA/NP X-Received: by 2002:a1c:7518:: with SMTP id o24mr1900427wmc.42.1556795175685; Thu, 02 May 2019 04:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795175; cv=none; d=google.com; s=arc-20160816; b=rl84LxvXgWzKf3ztyHW510YFydBzXiN3PNSu6BH8RYADJ559/XWEW4ulsB1EhkyikK FciYyD28IAO5pgkY+sV7YSKApcpvvBScFSdlFRWgfz+OexuF5BzHE0eqAQPCzNbjbKK5 aJbDUBsLTABvXKTHacXyCfjaQ5GNLJiNTvAB+78yBmExMzk9XrdG2TlGDdYNOWuNVsdB yRVtgPPZQ/enRiNQ3eiQjG2j8tY/Bj5ohE4qAREWdCvzxI6XdwNUH3fmS/l0cMNO2jcG ZrCjWw7ty9soWAFrVcXjN57QzkoqfV5f5Yh8fkp/SgmYBWEorCcbJbzcJQPfvDQfuH6o t7Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=q8qz+dt/8gAFGgAZVHIMs32P5OJezzKjdCP8RBW5yrQ=; b=Ck7ApVTUSdvjBl/Uh05Tih7BqBGgUeXAqJeioDCV1ipTd5qI1dzpSsuyJsvhI+6T02 dA6sUyWEJ4IYQXLk9Jzp99dG/3SlaUZMVbvQz04IO7ERnzrApvkPmjJz2YfKA+UYPlkJ 4l4EVH2Ivgdwv5Ft/68f+6gGbvR4ECWJeJLyPCXkqoWkRD9dzQMNXZvGd7qRLgXqGUDV BmfYGrdKBAPzyVR5555VhLw0xwQxIP6lkcneZso1lgx7kaPeW3XApfEWPBRCpE67j6U+ TZAof6hGR0zf/i8oLmL7bL7jO0yZ/H0J95eZulBEjWwqtRQL+LY5GSb0ps8gWmJ0AE0Z 2+FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=my3ScM8W; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=RpngdUn4; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id u7si10971628wrq.261.2019.05.02.04.06.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=my3ScM8W; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=RpngdUn4; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 78F3017A1; Thu, 2 May 2019 13:05:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 78F3017A1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795174; bh=B+pXMDNywHIHkwUl+blhsm46UDrj4x/UoZ0Q7y4u2FY=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=my3ScM8W2hNBrwmX9FPOqSg4tPX9KsCLilgGriU8mpfDfXWaWK9SoQciocxAcFmnn /golUkHrObuzDlFk0naXQZgXQsSdRwPWzcJ++sk0LUn14tGNarLQKJz4hrgsT7jLC6 U9UtlgslgjFCKxxD8TR85wCVrDD+RoWwlLECch3Y= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id CB13FF89743; Thu, 2 May 2019 13:00:39 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id E041DF8972F; Thu, 2 May 2019 13:00:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CCE84F8972A for ; Thu, 2 May 2019 13:00:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CCE84F8972A Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="RpngdUn4" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B3B302089E; Thu, 2 May 2019 11:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794829; bh=K+1jriQ1cRmGcNIXvnl+HNNm2c34ANpldEWbqely3S4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RpngdUn42TI7gEEjzLOl7SYaFm4sZFz+3RwM9P4DvPMJbodlwdKlxSbsqiQ3uolSn Kn6zywyhLhzzkj1KOwlJnA3QhBCp2CX5g950X/pMwh1Pjxxixsbyn0RZeNXO6gSpQs paWn8uLdCy13EKy7M+wOgRPcJu7nbSDdV2EtnSto= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:23 +0530 Message-Id: <20190502105930.9889-8-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 07/14] soundwire: add argument to function definition X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Checkpatch warns that function definition of __sdw_register_driver misses argument, so add it WARNING: function definition argument 'struct module *' should also have an identifier name Signed-off-by: Vinod Koul --- include/linux/soundwire/sdw_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/include/linux/soundwire/sdw_type.h b/include/linux/soundwire/sdw_type.h index b7e198a035c9..9c756b5a0dfe 100644 --- a/include/linux/soundwire/sdw_type.h +++ b/include/linux/soundwire/sdw_type.h @@ -11,7 +11,7 @@ extern struct bus_type sdw_bus_type; #define sdw_register_driver(drv) \ __sdw_register_driver(drv, THIS_MODULE) -int __sdw_register_driver(struct sdw_driver *drv, struct module *); +int __sdw_register_driver(struct sdw_driver *drv, struct module *owner); void sdw_unregister_driver(struct sdw_driver *drv); int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size); From patchwork Thu May 2 10:59:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163253 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5584405ill; Thu, 2 May 2019 04:06:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNpo9BEEIzn/OPPiYVM1QxiD2yT0/e0q0J77F0CxEtMiEbrVCJkN3+OZ3bAZNq5tleRUjw X-Received: by 2002:a1c:486:: with SMTP id 128mr1813103wme.83.1556795215023; Thu, 02 May 2019 04:06:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795215; cv=none; d=google.com; s=arc-20160816; b=oP00whI8klCQtmQlLo8bShoUx1yZUeuYYH8tjwqIXTsnNPX6aVkuHGtwOcMHjiWyu/ k+Gg9+Jkn6iFZanBCKoYyOPQLDxi7N/Cg2NvBzt0igaErqWa9FUf8BqoG72tL9VJidJd 52vAf8wIEoIuFrgJ7PmAZu0M5RreAap04z2x4zURbf5hAFWo8HVFe+2xnpk3THNg6C8y brOA9JZ1fCCi40naFyIWFf18YyQR8cnVk/nMHluVSuYV2TIC7oes+1VrwK/aOthCL722 Kpbl1keJHA6hNEwFqDpogCQC1JI+S+6kv48nt8RrvKVmwcJRMuU4ecRe7HkFAioC+iz4 NRww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=DWSFq5skIheJVvTFiID50HzT0ZqqzhMXzgNCoG6lLrM=; b=dFKPPfQuaDN5bMUjUzBw/yHNUb8sri6q26HaBOSl3lgwmf+k0EqiiTThvkeLIzzMVB Dkn8eCO1XvkLwBg1yyrxdVwO8myouoUkhybCdBhhRsOdV0hg0jK0LJWtuW1MsN6K4Hiw 9H5YXkZiCdTo+ymXmHQhyYnKmEhxnWU+9VAzMM20MKpzZyuxzxPujiu7Yhoq2eznr75K t/6EbZfbVHjFhEEYIg304y2bDHAd5w5FZ3PEjht1qgHQ13/N/t7PkuWKXbD9nGW/XCil BzvWBXUgtS+wvwIIPiJ7Lz2mwp4Xwb+CrARBl8x3MeYQbdiDMpXwAkxU66xYbHXBhnX2 wIoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=qSbniahi; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=2cQBYE1m; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id i1si8190210wrs.186.2019.05.02.04.06.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:06:55 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=qSbniahi; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=2cQBYE1m; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 24E71179B; Thu, 2 May 2019 13:06:04 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 24E71179B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795214; bh=PHgGnUnJjYwcAupETY9CBNPuJAGOyxrzxYZCNXauc9c=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=qSbniahiXm/9QEPYCJLFUZzl7L4ofv4yWE7HGuywrrQbLrxrNKx3pxFh5tw83UeT2 uwomnjkxQv1h0EpyR4YBbR8rCfSNe9NEywm5O2c8VNZW9RFqnWvp9J1Ia5urb5P554 fi4ihCdtJx9sOY40ElFkCy+IVP5H/BRQv84NbJD8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 72D83F89747; Thu, 2 May 2019 13:00:41 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 186E9F89735; Thu, 2 May 2019 13:00:36 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 41821F8972C for ; Thu, 2 May 2019 13:00:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 41821F8972C Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="2cQBYE1m" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 13004208C4; Thu, 2 May 2019 11:00:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794831; bh=oWZCOO5ZhAxtsK5LdmP4POUzoUhxQFo0+9rSVVi55G8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2cQBYE1mj6VEJu9QVD0iceIjil3JWKrx6KsC7uPhTwSrUpVzf+in40lTRBWFREZ+t klbEoXIQUUBioajE3uQO4KzHHrPzHMOt+XIdwSTM+MiObCwXK2vN41cCVaqcDp+rQF Tbkp8tGPySj3fmCeSJ8vrD05pLUISn8LQuSfHf4Q= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:24 +0530 Message-Id: <20190502105930.9889-9-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 08/14] soundwire: more alignment fixes X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Found few more issues reported checkpatch on code alignment so fix those as well in the soundwire core. Signed-off-by: Vinod Koul --- drivers/soundwire/bus.c | 3 ++- drivers/soundwire/stream.c | 15 ++++++++++----- include/linux/soundwire/sdw.h | 10 +++++----- 3 files changed, 17 insertions(+), 11 deletions(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c index e2ee305905a6..16b2a3b2662d 100644 --- a/drivers/soundwire/bus.c +++ b/drivers/soundwire/bus.c @@ -43,7 +43,8 @@ int sdw_add_bus_master(struct sdw_bus *bus) if (bus->ops->read_prop) { ret = bus->ops->read_prop(bus); if (ret < 0) { - dev_err(bus->dev, "Bus read properties failed:%d\n", ret); + dev_err(bus->dev, + "Bus read properties failed:%d\n", ret); return ret; } } diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c index 032a326a96d7..bffa535294ed 100644 --- a/drivers/soundwire/stream.c +++ b/drivers/soundwire/stream.c @@ -400,7 +400,8 @@ static int sdw_do_port_prep(struct sdw_slave_runtime *s_rt, ret = ops->port_prep(s_rt->slave, &prep_ch, cmd); if (ret < 0) { dev_err(&s_rt->slave->dev, - "Slave Port Prep cmd %d failed: %d\n", cmd, ret); + "Slave Port Prep cmd %d failed: %d\n", + cmd, ret); return ret; } } @@ -614,7 +615,8 @@ static int sdw_program_params(struct sdw_bus *bus) ret = sdw_notify_config(m_rt); if (ret < 0) { - dev_err(bus->dev, "Notify bus config failed: %d\n", ret); + dev_err(bus->dev, + "Notify bus config failed: %d\n", ret); return ret; } @@ -789,7 +791,8 @@ static int do_bank_switch(struct sdw_stream_runtime *stream) ret = ops->post_bank_switch(bus); if (ret < 0) { dev_err(bus->dev, - "Post bank switch op failed: %d\n", ret); + "Post bank switch op failed: %d\n", + ret); goto error; } } else if (bus->multi_link && stream->m_rt_count > 1) { @@ -1562,7 +1565,8 @@ static int _sdw_enable_stream(struct sdw_stream_runtime *stream) /* Enable port(s) */ ret = sdw_enable_disable_ports(m_rt, true); if (ret < 0) { - dev_err(bus->dev, "Enable port(s) failed ret: %d\n", ret); + dev_err(bus->dev, + "Enable port(s) failed ret: %d\n", ret); return ret; } } @@ -1672,7 +1676,8 @@ static int _sdw_deprepare_stream(struct sdw_stream_runtime *stream) /* De-prepare port(s) */ ret = sdw_prep_deprep_ports(m_rt, false); if (ret < 0) { - dev_err(bus->dev, "De-prepare port(s) failed: %d\n", ret); + dev_err(bus->dev, + "De-prepare port(s) failed: %d\n", ret); return ret; } diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h index d9102af5e26c..41c49631288a 100644 --- a/include/linux/soundwire/sdw.h +++ b/include/linux/soundwire/sdw.h @@ -470,14 +470,14 @@ struct sdw_bus_params { struct sdw_slave_ops { int (*read_prop)(struct sdw_slave *sdw); int (*interrupt_callback)(struct sdw_slave *slave, - struct sdw_slave_intr_status *status); + struct sdw_slave_intr_status *status); int (*update_status)(struct sdw_slave *slave, - enum sdw_slave_status status); + enum sdw_slave_status status); int (*bus_config)(struct sdw_slave *slave, - struct sdw_bus_params *params); + struct sdw_bus_params *params); int (*port_prep)(struct sdw_slave *slave, - struct sdw_prepare_ch *prepare_ch, - enum sdw_port_prep_ops pre_ops); + struct sdw_prepare_ch *prepare_ch, + enum sdw_port_prep_ops pre_ops); }; /** From patchwork Thu May 2 10:59:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163254 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5585141ill; Thu, 2 May 2019 04:07:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMkITlSuHejfdvQPWsj0DQ5pYx7wXXOYiaLfUqwkVyf7Pj2rYSCn/EBOVm54mAQ/TV3S5j X-Received: by 2002:a1c:f70c:: with SMTP id v12mr1888997wmh.86.1556795254231; Thu, 02 May 2019 04:07:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795254; cv=none; d=google.com; s=arc-20160816; b=Shwc/PIgZNVdggUmItJtxZM0z4o27VfIIdLemdDJor/8I5NcDPpeBj/C7i+3IiXu/o LN1pSt7E4VbFHudIZkg0vLGAFW85+ShEOdReks5iQB39K5Q/koXu2opyeiucEovruid3 Fnx7iJwrVzj5Ea5p2gpIgf2/T66zImHizBPFAtaU67+wlOPcYVm/C4Ph5fRf7iQPRbRs +lRZGTtzAayPMguGbdyDau0Oj/+FL9MejSozgkar5pq32IKoF3tSMoM+vJJkJ6pFeWQx hQpDsrDEUC37nAciPE3uxjKeYJTSWzs1kdzKdPOCuadp3C7S+qSEXqj3Q/M9dQDvWJ6s gb6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=3GY7FveoVDYcqj99YgwL3cnNoeyNyh13A59cpdFxmwE=; b=TggPlHIxEFrq1o1qL189KAGccQdEKY9/dkQ3hLY0lSnE6qQfGnA0yzLF9YR0wDZB0H nY8BlLH3kD/QFPmJahDAEL/zvi8CL4CZfTHbiJvx6u48Ff/17/yaYNQyloF5/E0UBQw3 ak/+0wGx42YXpX69H1ZmChFtRG4zv4qxKGQ28iKg1c5Y+voAD84D1DuOoiHUf71wqqzz M2mV6LfOC1eoTpQoGgRtBTmyBiBGaX7/dsT0NroyGI0l65F11eSUWHlf1H5gu396WMPq duCOkXRGDYh+EDqoxePtxxIMSwqlhcToQzzn+JP3R9dJjVecG4KVTZjROH9E8sDGGhPf Q1bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b="Gs/XgBFU"; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=hGTpa5W8; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id k9si1792466wrw.257.2019.05.02.04.07.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:07:34 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b="Gs/XgBFU"; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=hGTpa5W8; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7934F17AA; Thu, 2 May 2019 13:06:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7934F17AA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795253; bh=FK0/CX0fTlKL9gLtv/7NVp3OD28JTTfZPQNwYkTUbhk=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Gs/XgBFU7/TdRQN3CwJ90Os3KdR8nuLPHP0QKrHnuROk6Dt87jw3KGvAEST09eVHR l+XLcN7B/4S5P1eoWJD8a33hM8t0oB2hB4ILnzASV7644UXVal88bRTCuRLY8K08s4 Msx2kdhdA/vs1516ABL107+T50G4IKZrdMgt5Tac= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C0B5FF8974D; Thu, 2 May 2019 13:00:43 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 607A2F89740; Thu, 2 May 2019 13:00:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 48A03F8973A for ; Thu, 2 May 2019 13:00:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 48A03F8973A Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="hGTpa5W8" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 74DD520656; Thu, 2 May 2019 11:00:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794834; bh=l04ZnMIsIj3l4Q1hjBjiiE8cooNZ17Nbi2wlg4DufLw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hGTpa5W8R5BkX9ve2cK6vA1XVyYGTRtI7DVrrCYVJj0Mn6IX2elCEpnU1l2SAwVEK UvPEBdCVatPs9oLFUN1qX/Zc2I0rJi4abRiQGp5WA7W31WJJh91dWIUUK/3yI78faF iFILWXLjxn00Zbd7nuY3tJiAvjkSj4FA9/lDH3cw= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:25 +0530 Message-Id: <20190502105930.9889-10-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 09/14] soundwire: intel: more alignment fixes X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Found few more issues reported checkpatch on code alignment so fix those as well in the intel module. Signed-off-by: Vinod Koul --- drivers/soundwire/intel.c | 36 ++++++++++++++--------------- include/linux/soundwire/sdw_intel.h | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c index 9774dc1e4029..31336b0271b0 100644 --- a/drivers/soundwire/intel.c +++ b/drivers/soundwire/intel.c @@ -691,9 +691,9 @@ static int intel_create_dai(struct sdw_cdns *cdns, return -ENOMEM; if (type == INTEL_PDI_BD || type == INTEL_PDI_OUT) { - dais[i].playback.stream_name = kasprintf(GFP_KERNEL, - "SDW%d Tx%d", - cdns->instance, i); + dais[i].playback.stream_name = + kasprintf(GFP_KERNEL, "SDW%d Tx%d", + cdns->instance, i); if (!dais[i].playback.stream_name) { kfree(dais[i].name); return -ENOMEM; @@ -706,9 +706,9 @@ static int intel_create_dai(struct sdw_cdns *cdns, } if (type == INTEL_PDI_BD || type == INTEL_PDI_IN) { - dais[i].capture.stream_name = kasprintf(GFP_KERNEL, - "SDW%d Rx%d", - cdns->instance, i); + dais[i].capture.stream_name = + kasprintf(GFP_KERNEL, "SDW%d Rx%d", + cdns->instance, i); if (!dais[i].capture.stream_name) { kfree(dais[i].name); kfree(dais[i].playback.stream_name); @@ -749,40 +749,40 @@ static int intel_register_dai(struct sdw_intel *sdw) /* Create PCM DAIs */ stream = &cdns->pcm; - ret = intel_create_dai(cdns, dais, INTEL_PDI_IN, - stream->num_in, off, stream->num_ch_in, true); + ret = intel_create_dai(cdns, dais, INTEL_PDI_IN, stream->num_in, + off, stream->num_ch_in, true); if (ret) return ret; off += cdns->pcm.num_in; - ret = intel_create_dai(cdns, dais, INTEL_PDI_OUT, - cdns->pcm.num_out, off, stream->num_ch_out, true); + ret = intel_create_dai(cdns, dais, INTEL_PDI_OUT, cdns->pcm.num_out, + off, stream->num_ch_out, true); if (ret) return ret; off += cdns->pcm.num_out; - ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, - cdns->pcm.num_bd, off, stream->num_ch_bd, true); + ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, cdns->pcm.num_bd, + off, stream->num_ch_bd, true); if (ret) return ret; /* Create PDM DAIs */ stream = &cdns->pdm; off += cdns->pcm.num_bd; - ret = intel_create_dai(cdns, dais, INTEL_PDI_IN, - cdns->pdm.num_in, off, stream->num_ch_in, false); + ret = intel_create_dai(cdns, dais, INTEL_PDI_IN, cdns->pdm.num_in, + off, stream->num_ch_in, false); if (ret) return ret; off += cdns->pdm.num_in; - ret = intel_create_dai(cdns, dais, INTEL_PDI_OUT, - cdns->pdm.num_out, off, stream->num_ch_out, false); + ret = intel_create_dai(cdns, dais, INTEL_PDI_OUT, cdns->pdm.num_out, + off, stream->num_ch_out, false); if (ret) return ret; off += cdns->pdm.num_bd; - ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, - cdns->pdm.num_bd, off, stream->num_ch_bd, false); + ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, cdns->pdm.num_bd, + off, stream->num_ch_bd, false); if (ret) return ret; diff --git a/include/linux/soundwire/sdw_intel.h b/include/linux/soundwire/sdw_intel.h index 0848f9d38bcb..4d70da45363d 100644 --- a/include/linux/soundwire/sdw_intel.h +++ b/include/linux/soundwire/sdw_intel.h @@ -11,7 +11,7 @@ */ struct sdw_intel_ops { int (*config_stream)(void *arg, void *substream, - void *dai, void *hw_params, int stream_num); + void *dai, void *hw_params, int stream_num); }; /** From patchwork Thu May 2 10:59:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163255 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5585788ill; Thu, 2 May 2019 04:08:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCsuZfh/OizodnLJBpl5F3SNKXygi4iOzdEd/Sux5AUJrgKt7sX5DuokU51v34MKZBlGkA X-Received: by 2002:a1c:1c8:: with SMTP id 191mr1918859wmb.101.1556795293934; Thu, 02 May 2019 04:08:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795293; cv=none; d=google.com; s=arc-20160816; b=Xdks1oHi6AGGzHlIOKYFZQ1KwuhKE0ytRUnH/nBjdLm+trLyOXLiNy+YOUqcJ27n++ mMt6V2CFyY0OoUPJ9LeTa6s+vZN7K6UWmiufb8R7Y7PB5yLINgGSXJI8J2Ke7E4CCBmA dMksho87exPE8a5ktvPWw78BpvvSJHrRZa5y7ts1cWNAUU856LbSO1xN2rR3+ylwoUl7 sUfZsU+ytFMRyYBaGHrKFxrKK/DuRfuS8RdE7Ip7NbJwnsFvXDtMeH9FJx7sFgbJnK0r Ijh+3v7IHN5eWnHjhjHrEwD7IgtNqVYtLJuvTeZEegMK4rKlJ0PN3yLc6jbzXbrru6hH mu8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=XNV8Ig8+ZYaE5GjS/s7cQXZz589jcPUufg0i9MOu4Yc=; b=qS67zjD8tXRw8RKBRDGbAtiyhBCca0mbnMGbNtORHo3Omrq8SeghHb+Nq1mr8v9paB k81g4pIk9jxyDbyFyJALLkIdqPQGrU6xpg6hKZ2z3LhebFs2WcVKQB3tZTOWpdRTyWvR 2b3AFVTBiw13CnMZlpwPX+FPMtg9GugxyyunU3q4E2zNETX3p9IattxHftBpvwtXcj0O cwJwyuaEJSHPH79We6nacXtGg6UETBjnv4u99VajsGf4s9h5z7A/zEbsJmwUwHx2FJIR yz3t2QnqRZx8wzsrKyjc0BaK/Xajiflo4DIA3R7kMBs+FJ16UBmHgkOwPnTZ+lkY5bHr 83ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b="qpnYUR/k"; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=Q5pHCxpn; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id g26si4694739wmh.105.2019.05.02.04.08.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:08:13 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b="qpnYUR/k"; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=Q5pHCxpn; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2BE9E1796; Thu, 2 May 2019 13:07:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2BE9E1796 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795293; bh=3muwujY3Rb0ir0gt2mT2icGeL4kg1JanP8FaCsvzCo8=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=qpnYUR/kKXi44NmkNVaeMjL+RUag6NF1jMj+pi1WRhTfF56vR1LrtX8SwDwg1+EUY RZJGiTz6/VX35ixh8q2mPCNHoHFLFMAbGiqxYubR6Dp35dWV4E5e+2MesSNyT/xA/o FFJyzwTF26ZuaV6gZuLPhS/Q3LICY7vItIpQKqbw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 4FC81F89750; Thu, 2 May 2019 13:00:46 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6C748F89749; Thu, 2 May 2019 13:00:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7E497F89744 for ; Thu, 2 May 2019 13:00:38 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7E497F89744 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q5pHCxpn" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3AEAF2089E; Thu, 2 May 2019 11:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794837; bh=1A74646puAjURq5Qq3C1h6TqzTfKtfb7ZZr985nSD08=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q5pHCxpnr4+QePhDKlCY725qQVvLWDD8N7JBRLv+Vs00qlBURZZaAi8caqjYIbF/l MDt8UTUfHe1AqarESepP5xmtmJ+wPJE4EYbmjHWEIJvTFl3BjHTwqxe/GfyakASDNg jnYcglJ6wthgsSWCQy205dw2wTZqoj3ydvVRDAkQ= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:26 +0530 Message-Id: <20190502105930.9889-11-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 10/14] soundwire: avoid multiple assignments X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Modify the code to avoid multiple assignments by assigning to variable after error checks in soundwire bus. CHECK: multiple assignments should be avoided Signed-off-by: Vinod Koul --- drivers/soundwire/bus.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c index 16b2a3b2662d..aac35fc3cf22 100644 --- a/drivers/soundwire/bus.c +++ b/drivers/soundwire/bus.c @@ -812,12 +812,13 @@ static int sdw_handle_slave_alerts(struct sdw_slave *slave) sdw_modify_slave_status(slave, SDW_SLAVE_ALERT); /* Read Instat 1, Instat 2 and Instat 3 registers */ - buf = ret = sdw_read(slave, SDW_SCP_INT1); + ret = sdw_read(slave, SDW_SCP_INT1); if (ret < 0) { dev_err(slave->bus->dev, "SDW_SCP_INT1 read failed:%d\n", ret); return ret; } + buf = ret; ret = sdw_nread(slave, SDW_SCP_INTSTAT2, 2, buf2); if (ret < 0) { @@ -910,12 +911,13 @@ static int sdw_handle_slave_alerts(struct sdw_slave *slave) * Read status again to ensure no new interrupts arrived * while servicing interrupts. */ - _buf = ret = sdw_read(slave, SDW_SCP_INT1); + ret = sdw_read(slave, SDW_SCP_INT1); if (ret < 0) { dev_err(slave->bus->dev, "SDW_SCP_INT1 read failed:%d\n", ret); return ret; } + _buf = ret; ret = sdw_nread(slave, SDW_SCP_INTSTAT2, 2, _buf2); if (ret < 0) { From patchwork Thu May 2 10:59:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163256 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5586457ill; Thu, 2 May 2019 04:08:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHpMjlJHF3180mq4wjM0UmWKtQ4L40sSskGuRLmI5qrQR0GPLZSDhcHKWwoTEYNN8PO0Co X-Received: by 2002:adf:de0c:: with SMTP id b12mr2247795wrm.297.1556795331496; Thu, 02 May 2019 04:08:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795331; cv=none; d=google.com; s=arc-20160816; b=nOf6PwoiJLpvfxM06bQ5NOpN2aLqBwDmXhPsc5mkai4kAG+EH0fqYqikqVG2sgNL7h UP3aRi1i1wP6l4U2WgTgx0ssX6KrecH5QkRcNhD/cn9bvnAE+PoieOsqXQnQLiwIU98e N/g9b8ITTRbd4qSdwBIxE4gmLzoVa3qW0QJxDLkB3aOPk5jKo4h2xS5/5fLYODLIymP6 I105foORxXuiBmYfn7AWDzUlVeoDrE7RZ2iBkFV/TLwUItFDJl/blTe9Gg5ovIjR+XeF LuEBdTtr+3LraGkg2rMsvE4T0+ZqNDtbA4jpiXA51sXay908GPVEz7FTxa0zl/YnIZHa i06g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=g1yiqs5GXerBbj/AbRCw8mFZSQgFnJL3GrtihZzdAZc=; b=0ODQSclkpNSj/x4mcXggEY8bgROOjg1RVCzd1ru4mBK89Ntgq+jk7VzSKzq9ejCHVF fY733eyBLCCjs3GDqQcWGwLJDOYFEXKvo4b9qAHp8+R7rd3YNXTS8DR9yrwFN8Cgwlsa vctSA8f7u/23c31arqgb6e++qNOFMyornsIDD3R4nKb5tWaSo0WeOixGftXe816tMMEy ytFDQbJ/V4Kzls8XshCuotGidW9BNIwrLw6jjro0qv/cLz/KHlfBggLEYneKBMV0Ybi0 d7GC98GBlyv6Yj+mJrPc0IKt2Hs//vyXx9xji0y86OXwQRYntn5yygTyQmL/zESCzXqA MEhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=NS4gLQ5K; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=m2AOHFy3; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id u5si12792532wrr.414.2019.05.02.04.08.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:08:51 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=NS4gLQ5K; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=m2AOHFy3; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 6F3CB17CA; Thu, 2 May 2019 13:08:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6F3CB17CA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795330; bh=NMH6EpyqK5zzUyakKqQCT5Il58oCzZw5ugyNT+73DPM=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=NS4gLQ5K4BgULp6TwRZCG1bM8NUHOf6bfgXNLb6ZQNhYXSNe1SXK4mrxAD0a9vw0g dZ9NclZvwUOR3mlh0rF43xk1wNvw4waDtUV4poO9DweScPEKVikhtl3UCPpydLoG0y I29QjTNs/zPX7D+im2kS+W/TNP3MOvfeH1sw2xxY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 710D5F89754; Thu, 2 May 2019 13:00:48 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 96E85F89750; Thu, 2 May 2019 13:00:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 45656F8974A for ; Thu, 2 May 2019 13:00:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 45656F8974A Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="m2AOHFy3" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D5AE0208C4; Thu, 2 May 2019 11:00:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794839; bh=9tCtHCXFTD+z3idObz6Mh7l5kzSf30X9HL8hZmlNGDE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m2AOHFy3jbEb9GOdnHpMIcKZvu2Er9phTbbZHQbDtyVXpnhnh9+bJB1hBPr03EB7j s2XKLOv62RlZN/TVrMTMq7entyS6nXEB2NYKf0M2FrXp9n0RmiHmadOEdlR1azJgrW seTRtkk8pV9JeSFc0mMex1j3lYgwwj03sNQkNhDo= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:27 +0530 Message-Id: <20190502105930.9889-12-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 11/14] soundwire: fix more typos X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Found few more typos in the code, fix them CHECK: 'and and' may be misspelled - perhaps 'and'? CHECK: 'smaple' may be misspelled - perhaps 'sample'? Signed-off-by: Vinod Koul --- drivers/soundwire/stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c index bffa535294ed..debb67882df4 100644 --- a/drivers/soundwire/stream.c +++ b/drivers/soundwire/stream.c @@ -89,7 +89,7 @@ static int _sdw_program_slave_port_params(struct sdw_bus *bus, /* * Data ports are FULL, SIMPLE and REDUCED. This function handles - * FULL and REDUCED only and and beyond this point only FULL is + * FULL and REDUCED only and beyond this point only FULL is * handled, so bail out if we are not FULL data port type */ if (type != SDW_DPN_FULL) @@ -233,7 +233,7 @@ static int sdw_program_master_port_params(struct sdw_bus *bus, /* * we need to set transport and port parameters for the port. - * Transport parameters refers to the smaple interval, offsets and + * Transport parameters refers to the sample interval, offsets and * hstart/stop etc of the data. Port parameters refers to word * length, flow mode etc of the port */ From patchwork Thu May 2 10:59:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163257 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5587436ill; Thu, 2 May 2019 04:09:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeoTvZw2FmRZpXkaEjZgil/ohM6MH81Rs7BheZyfmO+iTTN2WO0HZmnoSiujaGAGlKqyrV X-Received: by 2002:adf:f88f:: with SMTP id u15mr2297808wrp.155.1556795381834; Thu, 02 May 2019 04:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795381; cv=none; d=google.com; s=arc-20160816; b=v9/H+9Udxft5VLWNSkEeWSB1s1kiXk+h2cpiqN8CktkPPgsmtkmhqFHOdNbC08pG+4 2VDfJ3lI61JNG154+tzxboTlspf29l6cgGE5H9nzFk/cMv7RB994Ig65/6Mn3wuJeRNj x1ki+TIDChzBVuCPsLkv1uoroWwlQcJghPMe/XUWEPDW+VufdhxsH9T1VWo0En+qEY9s LYKRlLCTn4MJJCELcuVhZdDVpJzKr1Kr4ZRJY9bKcAU9McYk5eG3jle+2zetbLHqUFBU 5AwhnqJ8wQjfT+fU7VpdyrIOl40Rw0i2ZqsixUHH2J45UxRzXDTuSL0Tu5/XxfETSqeT VFsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=azX8tSe8dJt3A/aGzEvETqvFgPp3IpQIRbB5Ojisc54=; b=rnMBYlL652xT1H9lM4TWSHCuR7sp6xS6qdzji4lh4EM6cMJqkmMg8tsKHRWLnhwKFH dpSn9UtkemhXHrfEotNCxThi53Q3Jj+GThdoQexhQDPijeoNx65d0a1m9H9fIXMn+kug TZnhTrkRuCI1Xwtf6YSdk4h3MyDpEeuAtH9elJidBM5Dk8EjZZMxB8gfxCen8Ez18NYE orKNH/Y3hVraL5yX7W3q7KN51p/Po1K7iTWDZn2MiSpw1P2vdENESeyr6SK7OC+QOx2b yoZk5NhVYQF8Yte/auiQ3W1Ishuq2Wv6SPkMfnU0KzWhQei7nbZTVjn4oNKuWVnOl9o7 3eUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=DckyQa44; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=jEEHLq9y; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id 16si466430wmp.8.2019.05.02.04.09.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:09:41 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=DckyQa44; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=jEEHLq9y; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 177AD17C1; Thu, 2 May 2019 13:08:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 177AD17C1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795381; bh=/sxgrjYH1yaGI/N9cLN8i1Whf/QnNy+u1+Wv5b2hQjU=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=DckyQa443bNrEdax6BYQt3+mrQfQJU78fZegrU14mTlHMkUVtKbUrUBf6HUVRWGoV B57JFIzsoURlX7MLzQLw+rhNed+ih9XgkLupB6fHSTnr5I97qXxbHf/dvDwHHn5C54 1zIkR6UnfwrbuYVA9kJ9HPr7Jt3YgWu18hfTNXjE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 51C7DF89762; Thu, 2 May 2019 13:00:51 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id C8767F8974F; Thu, 2 May 2019 13:00:47 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7C4A6F8974F for ; Thu, 2 May 2019 13:00:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7C4A6F8974F Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="jEEHLq9y" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0097920656; Thu, 2 May 2019 11:00:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794842; bh=Nxjf/qNQYqjiBe9R0eKn/f1btuiVEF1z0Y4EiTwpn2Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jEEHLq9ym/iSL2+plp0F0SwO1ytk+FzysVTbEO7AwdHaMw4beQzfFVuBHoEaW0obp w1sdojsMbvyVIW5Sqyn8Wj30FdEaM+nU9zeDdKqkeUMuQI1h4CKlrRQxoyB10p53sg rmIelJ28tTMCcut/bpgvSjfjBZwrmLc9zHiCNE04= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:28 +0530 Message-Id: <20190502105930.9889-13-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 12/14] soundwire: wrap macro argument in parenthesis X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" macro argument should be inside a parenthesis to avoid precedence issues checkpatch complains: CHECK: Macro argument 'n' may be better as '(n)' to avoid precedence issues Signed-off-by: Vinod Koul --- include/linux/soundwire/sdw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h index 41c49631288a..35662d9c2c62 100644 --- a/include/linux/soundwire/sdw.h +++ b/include/linux/soundwire/sdw.h @@ -36,7 +36,7 @@ struct sdw_slave; #define SDW_FRAME_CTRL_BITS 48 #define SDW_MAX_DEVICES 11 -#define SDW_VALID_PORT_RANGE(n) (n <= 14 && n >= 1) +#define SDW_VALID_PORT_RANGE(n) ((n) <= 14 && (n) >= 1) #define SDW_DAI_ID_RANGE_START 100 #define SDW_DAI_ID_RANGE_END 200 From patchwork Thu May 2 10:59:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163258 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5588145ill; Thu, 2 May 2019 04:10:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwG1yIATkVodg/MUqU7gGeF9C5CsSh0USWgaXKPFW5Et3tGYbxAmamRQKJF5EE75sqVicO8 X-Received: by 2002:a05:600c:2506:: with SMTP id d6mr2028711wma.106.1556795416418; Thu, 02 May 2019 04:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795416; cv=none; d=google.com; s=arc-20160816; b=rLBb4wrVgV98Ojfk22Rw7okRQIkpT/GZDE/khQDrrQegqOBf1+2AV2cdcHfU5N0Tgw HNAsF2xFzi3YqE88fNn4Z20dWxlAcuWS8V/iKfLEJMXE5b34QR2AXR8C+7i1joLEm6bU 33FAFS4H55dBv2VRmMCP6C2AI+LiKigSW9xdjg2b+BbjCTZEtGn7BA78I/2XFpH7QYxa dHLsHqGrcjASVmNHXo1fMayPKzt5Hk5RN63hrmRC1+21IR1gvf9uekxKkZJzx8GjsfD9 EKyEXnfyU3xdlfDGini+IrcBtunzub2vtv6kjFbKkgJkLJXi6KwG4yUia55wJiWP5Kz8 aJHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=gg3EfEcraN7+HCODuP1fjc5iso1/JvAPCtAQtvjf87Q=; b=HP3/tMT/1ynL7v9kecBUmCdyeDxcEItZ5aiCDz2W6on0HTVcqbB9Cabsz3MUmQcz6U 6jclNU3zqUHDD6Dt8S8DEfdz9BHWMIYPmHB9QupdZJ46HYabnRaIdeQqkXw9BZwmk38K xetL1KW/Da6ea9bNJkTXWZOSUoSxzAi00P4z3RP2rCPApLKPgiSxeDP6/nCbxmoOkbq4 fGotlDe8b2/ujeLVX/O2J4ze0scwkZPogORDhWzJNA+FY1Du4GOhWlzA5ab23D+WV4Ki E1HEl7wb640z8Zwj8+zesIpkDQojjd7Zej6jv4b4j6zhbEA9NZmCz/g/brxl5XtcMYdZ ajog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=ibMnIM3N; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b="pTxr/exW"; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id w6si5057460wro.129.2019.05.02.04.10.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:10:16 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=ibMnIM3N; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b="pTxr/exW"; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9FEEE17C3; Thu, 2 May 2019 13:09:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9FEEE17C3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795415; bh=J217pAJN1IyjT/YWHZkTYbcLFrARmNkg67lNqmcqjh4=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ibMnIM3N+wk5A0t/ecH+3+gr9iYEl81SdCGm3ar/3qtmxhlsYYvVSMFGNxzECXHzR y/0D3Lzlqnc8zgS0lXhVXFQINasCbiVwudYyUN8Q96JP7fNF2npPqiFVLrCOZlQcHN V9BMbdK9vYz8IOx/TeTzMfz9OMgLn6olV+PB9bAI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A3576F89766; Thu, 2 May 2019 13:00:53 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id AC7DCF8975B; Thu, 2 May 2019 13:00:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 97287F89756 for ; Thu, 2 May 2019 13:00:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 97287F89756 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="pTxr/exW" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 694012089E; Thu, 2 May 2019 11:00:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794845; bh=vDqakhdvMhRiNZluGfBfkn/mYMDUZXvWHTTD0L06hvg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pTxr/exW7aBIM11oznnR1bfkq2uT6iCTe7NdbzUupuAWnzHQestrFZ9skTFkvP2zM D8izxuWJX6gzjpz7Loq4ohEnh+o+P1dIoc381Bu9k4gnr9k21pliK0dMDGt/txSDOc GAzJA+7edZ9LLc4gSRuDd8g0pKL6UBRtkzaDj524= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:29 +0530 Message-Id: <20190502105930.9889-14-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 13/14] soundwire: add a blank line between functions X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" For improving code readability it helps to have a blank line between function so add when missing. Checkpatch complains: CHECK: Please use a blank line after function/struct/union/enum declarations Signed-off-by: Vinod Koul --- drivers/soundwire/stream.c | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/drivers/soundwire/stream.c b/drivers/soundwire/stream.c index debb67882df4..d01060dbee96 100644 --- a/drivers/soundwire/stream.c +++ b/drivers/soundwire/stream.c @@ -52,6 +52,7 @@ static int sdw_find_row_index(int row) pr_warn("Requested row not found, selecting lowest row no: 48\n"); return 0; } + static int _sdw_program_slave_port_params(struct sdw_bus *bus, struct sdw_slave *slave, struct sdw_transport_params *t_params, From patchwork Thu May 2 10:59:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163259 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5588824ill; Thu, 2 May 2019 04:10:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzO9neD5Is0HQ7jLL0BBBaSWkQ3PagnCFVtLxBPracXAe+d5iLPCk3CzvH5VI3V6hf1ebEg X-Received: by 2002:adf:e486:: with SMTP id i6mr2585936wrm.42.1556795453436; Thu, 02 May 2019 04:10:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795453; cv=none; d=google.com; s=arc-20160816; b=Xv3Uq2oozC4zXz/NglN+D+O4SggbiVVxf8XMDlv2i8UafK+rwNznfMgvBFWGLTuGxg Ao7Tfzgh+SPyu35fC54CDOiRIN1wD2qGtXid1S64diH1OR/RefF2sDY8The4xUCcwNE8 44NLc3BkczQcFotn7YkRj5uH+vhvgLlyTtUbnGIAzZfzoq51n9Jw6Q330LDsfS8nj0fy FtP1ugYZ8mHbAMSp0Y+RlgMd+ssmFGep8ryrdaS/DNinzIifuDQr7xk/VXa1B7upY9vk w2p1UA7PAMY4T6iRvv6JGBLQkeAOrV2PU6aJ/TZe7Q5eGt1fmkN4LK8UO4/eJ2llajq6 AopQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=gSCuRQEYe2GhP9RGbitWgIqFAZdcPxg1116Pae0Cvu4=; b=nYMldlBeiUxKCRqLvIGaVQfX4PY5QbpteEQ3UpjsaxLnEbTa3J1hCfK+QskWVcoE2h 9dGfBJswGpETa7GuVLRWFsiNKTJVmlGSoLSMS5+UyO9Og51flXsjT06rt1rIgD4FkBQE 8BKqNx2JmySdo8oPAJ5EknBIX82usNM4WJmTG91RrxvM9fqN5lwHdgbrN0fkrNYapLL9 MBEi5FIuFb/KONpB++g5ulv7pxaKDvlViz2oIWJdTPhPg+dhBBbTtyJl6BeXa1QQRQkk 9VlsMZoHfs9D9kD4CjD3OpYyJFNG9qwFaMcqx/ntiU15q6zXwRqvcSoiWyJZAxrH5MRs Lb3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=ITW7ulO3; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=IVtfhlSC; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id 3si19032823wrg.290.2019.05.02.04.10.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:10:53 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=ITW7ulO3; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=IVtfhlSC; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9BA5F17D0; Thu, 2 May 2019 13:10:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9BA5F17D0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795452; bh=YkEJxQMQpq/BqZh/vMtl8CRQGZTGcDSofYOqyFrHLFM=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ITW7ulO3dgxk7yPAiLqFJTvA1W5pPCLtQSO1v24oJVA8HEVcxt4Kk1CCl4DnU1iB1 ua/WDiM1O7wuxdXwVL05BGxB1X7SsBdLzG5QDqrEUUuuOMmOxFe+I/sxLzxZWWJTHr xdb8KdU98CUEtB7Jhlsm8xTnPk2JHKBoFvmTFCxg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 58260F8976B; Thu, 2 May 2019 13:00:55 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9A5B0F89756; Thu, 2 May 2019 13:00:51 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0EA6AF89756 for ; Thu, 2 May 2019 13:00:49 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0EA6AF89756 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="IVtfhlSC" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CC383208C4; Thu, 2 May 2019 11:00:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794847; bh=szJ85gxJz6zknlvjIpxxl7nxdBK55/AVxPPzf9NzxyQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IVtfhlSCSrofuXA0i/dhhTTQfaIUkt+S5vYewfIpvOVQWY4W54HJg6teZgU/tl3nj LIywcEQYBmuXBDjw6IT9PEYbWxPNtqeKemkqNTweRXXVE11Ys5vbXmL7qA2qhzoFuP AS2itSRmKclgZgxhlOX8fo+AvRDXJT8AFAMLIw7c= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:30 +0530 Message-Id: <20190502105930.9889-15-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 14/14] soundwire: remove multiple blank lines X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Multi-blank lines do not help readability so remove them Checkpatch complains: CHECK: Please don't use multiple blank lines Signed-off-by: Vinod Koul --- include/linux/soundwire/sdw_registers.h | 1 - 1 file changed, 1 deletion(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/include/linux/soundwire/sdw_registers.h b/include/linux/soundwire/sdw_registers.h index e75b2e3cf93d..a686f7988156 100644 --- a/include/linux/soundwire/sdw_registers.h +++ b/include/linux/soundwire/sdw_registers.h @@ -73,7 +73,6 @@ #define SDW_SCP_INTSTAT2_SCP3_CASCADE BIT(7) #define SDW_SCP_INTSTAT2_PORT4_10 GENMASK(6, 0) - #define SDW_SCP_INTSTAT3 0x43 #define SDW_SCP_INTSTAT3_PORT11_14 GENMASK(3, 0)