From patchwork Thu May 2 10:59:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 163244 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5577391ill; Thu, 2 May 2019 04:01:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOxj4X0e0I2CJuOkXjkNNeSgrsXUufxKln7l5B2NYriIyxzMJ+awHaPcVPM5xl4ZIKiQ+d X-Received: by 2002:a5d:4a45:: with SMTP id v5mr1787080wrs.2.1556794873337; Thu, 02 May 2019 04:01:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556794873; cv=none; d=google.com; s=arc-20160816; b=C2GC/dyBTgcc+XHLkoN+/e/5/mMs1bOs421GP7hc2cTbfSl2CWK6CkPkJn/Xv6csSA zKUaUnnGy7eNddhSfzAmUpNBwVLVc1stiRdXczAgviOd/gjFdybut0yR5yXoWcut8pNJ 7yjwXt41rgirYnaDl6tPeykkEaIdAGSZXMtI57ReNwMz5yc6jev5oqmnMsGGMADejvbF 0W60g2+H34dgN9GawV4a/4rBf67cBpShDAkzjzRC+6bpa+FqSw2AQ8sqxG4CrS/T7B40 8MvUVYAeaBEPUnnxjQ4x/BwYkc7mQXTpYXhRg8NEeHIrA+QLIyK4tvpc/dXkwoaViWkP f9SQ== 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:message-id:date:to:from:dkim-signature:dkim-filter :delivered-to:dkim-signature:dkim-filter; bh=QRv7vyI4U5BI7isXsGbEqtVIYgphinXtRQSzQuY2DTg=; b=qPt78oXkibO1Wgu2IIbIQYMV9w0kEoa+FpplRUirD0E4TGKnDolZEwHfjIxFEHvaqX P5X8sF+kNQJip1XMo8R4WqCv9et2AdOpZDgdZyTCvjKJAG3a9Sys7qLbe1HuIPc7ukY5 mP0Gdb5QApxm6RTfYo2x1CFRVzZ4WWguefxwx2/GVfWhDXoWZsivlyJ+EmkpXlx/vxGR F3GR4FdPIUc6nomcCCQWEi8yRETBp5dq/XlYOl/l9olsdCWhPnq0zGV/UwdHxuYotItT thGuPrZiC0vRgyCNEYouFJ8mDjUu9gSa1O03+/qSwdj6o1RehgeCQAFe82381l2Mfd4T MVSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b="KpIYqB/T"; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b="q3IM/1YB"; 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 r1si4768339wmc.75.2019.05.02.04.01.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:01: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="KpIYqB/T"; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b="q3IM/1YB"; 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 2DBB71669; Thu, 2 May 2019 13:00:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2DBB71669 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556794872; bh=jyZZ+ZNhruUqv/o+uvhTS3KUuC59w5yoHsuKo6s9IfI=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=KpIYqB/Tce/FOwDYKEfYpbaKjzLd57KlnaeARNE5mWC2Qeo7HSlrOeSqf1uQtaRi5 bUAaU5G+AfzkY/rgbTGepDwirqOJBrz9R4iqNrISB6j6hMllL6WNoBBQ/4A8fG3l9P yC2/EswqVKIuAWIt22cx84+FdHKVwZYXzNP5hZXY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 52A80F89693; Thu, 2 May 2019 13:00:21 +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 A4F78F896E3; Thu, 2 May 2019 13:00:18 +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 5F8D7F80722 for ; Thu, 2 May 2019 13:00:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5F8D7F80722 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="q3IM/1YB" 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 C95E020656; Thu, 2 May 2019 11:00:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794811; bh=YZanXKxb/sfRlqEzr2oSUnDXUcGp0tsNkiv1D8YcX2A=; h=From:To:Cc:Subject:Date:From; b=q3IM/1YBrAVLpvHLuMIOb6YzcR/7rQYEJ0KF2BgP+GDml/UbNmLNLs3ocCgs2SdL9 ZRVK/zE4gqJ1kqsCNtYohgtes0UMS8Apu9gQoYLCvcLfUpFeCwSK8a89B/7ObhXCKm Cdpjh0Mi8r3jZNOpgfUY3iRw7rC6Py2NiwgNXx9I= From: Vinod Koul To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:16 +0530 Message-Id: <20190502105930.9889-1-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: Greg KH , Sanyog Kale , Vinod Koul , Pierre-Louis Bossart , Shreyas NC Subject: [alsa-devel] [PATCH 00/14] soundwire: more code cleanups 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" After applying cleanup from Pierre, I realized few more things can be cleaned up as well, so fixing these instance in the subsystem. Looks like bool is no longer encouraged, but I have skipped those and few alignment as they caused code to look worse. Greg, if you are okay I would like to add this as well (i know it is late, but they are cosmetic changes and no logic ones, let me know and I can send a updated PR) Vinod Koul (14): soundwire: fix kconfig help format soundwire: fix SPDX license for header files soundwire: intel: fix SPDX license for header file soundwire: remove empty line before/after braces soundwire: cadence: remove empty line after braces soundwire: intel: remove empty line after braces soundwire: add argument to function definition soundwire: more alignment fixes soundwire: intel: more alignment fixes soundwire: avoid multiple assignments soundwire: fix more typos soundwire: wrap macro argument in parenthesis soundwire: add a blank line between functions soundwire: remove multiple blank lines drivers/soundwire/Kconfig | 2 +- drivers/soundwire/bus.c | 17 +++++------- drivers/soundwire/cadence_master.c | 1 - drivers/soundwire/intel.c | 36 ++++++++++++------------- drivers/soundwire/intel_init.c | 1 - drivers/soundwire/mipi_disco.c | 6 ----- drivers/soundwire/stream.c | 28 +++++++++---------- include/linux/soundwire/sdw.h | 16 +++++------ include/linux/soundwire/sdw_intel.h | 6 ++--- include/linux/soundwire/sdw_registers.h | 5 ++-- include/linux/soundwire/sdw_type.h | 6 ++--- 11 files changed, 54 insertions(+), 70 deletions(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel Reviewed-by: Pierre-Louis Bossart