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,