From patchwork Sun Mar 31 22:34:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= X-Patchwork-Id: 10878901 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D61EE1575 for ; Sun, 31 Mar 2019 22:35:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6A18285C5 for ; Sun, 31 Mar 2019 22:35:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AA0EA28856; Sun, 31 Mar 2019 22:35:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8D1A8285C5 for ; Sun, 31 Mar 2019 22:35:37 +0000 (UTC) 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 183F71624; Mon, 1 Apr 2019 00:34:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 183F71624 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1554071735; bh=cyBBNHLLw04IZtG5ANUeZFspPZdgFPeBXuscNwAZZX8=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=RTDD4EkEP3l5NJ8a50nm/kFulk3Tt+lT/T7lsirgpQusUG6K5TZOpoCJ/LeTMkqcE WlCiFbsMtuD72gDItb7fjvtx4kEgJqIwBqvx3yvrg6KiKjZVwtA9ePm/EXaQEkXKuS P3zJSTcoX0Lj8qJOQ2k/xfVJcS1X5Bnh5aQVcqv8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8D64BF89630; Mon, 1 Apr 2019 00:34:44 +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 C6E52F89630; Mon, 1 Apr 2019 00:34:42 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2ADE3F8075C for ; Mon, 1 Apr 2019 00:34:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2ADE3F8075C Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="PaXDlKly" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1554071670; bh=AOZTrA/Ra1bCUHk9C5awQmJrazYS0r5o29tb8AngkvQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=PaXDlKlyeLww7YJ6fouk2QhWOp+KQwRYnEZAp+ZbC7G4c+DF27pzBxlUvwRSZzE2K hh0F0Vsv85L0SUYUlZ7WG9m7eb8ygrbFcEsJYqWOlIh42614mV40lzUbmUAiIPtYpI B0zQpZXGyHZS3zFieOU69IcgcEu9WQKve2V4CQNY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([109.90.232.48]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M6B6s-1h0NBM2lbu-00y8Dv; Mon, 01 Apr 2019 00:34:30 +0200 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: linux-doc@vger.kernel.org Date: Mon, 1 Apr 2019 00:34:22 +0200 Message-Id: <20190331223423.29855-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:AveavH69cVp1MMTdK81kxQBsjNX1ivILo0rksVwpODdcZeL+vOh 0sX0n0XNpur9NK8JOqDTWbtQdK3/tlB2fzJd5jwWs1kZA3PmBDICYNtj5/v5M63Y0e0lGyV +oR9dKaetOHUSpn27LzklaJsP9cZdhjBXxo8/8Mtw4frZVypGvnaQ1ww/E/mlCAJDel173h paBRAFKuo0PAtnO2TNzzw== X-UI-Out-Filterresults: notjunk:1;V03:K0:ML9JIszmFd0=:MP7NUANoU0o94iYSueA1CY JQMtAZ0ekovN7jg0FdV1AvKve10mLbBcl1cZrw8x/2nilixJc3yhmo5ctFCfZYULRjSTet6h4 0gBlfsfiVKPE+nRVCd5u7QkhGVojck6wID4jE34I3lKio5cB3WF3zrtPMhdHk8rK9TLyzCsup hAUNa/PG7zSAalYxMDwmNLdR+WcaJ7W4/QhpUwP89RduYGEn7+sEM84pssGfzTj4rkSZVN5L0 4g/i81/abGmBsnVx98rA6jwTP2gawGv823jzqf6CQjzcWpUPkLljPQeVXb+VvFNOQcmH3VBrT D2EPJLvl2MyzuLoCLglOfPOA/E6Lxbkb7k+j9ar2nms7PynIUwd99DDTQGN5Nr7w0dqe1Zrqt BQknvLjtf4+tqWQ47GKfiUUQi5+yZwVRfxSfX2KSDlZlmDYXp1UB6bKo2q6EMw2giPsoPHRUf T7wM5OC2TFX9AeVRWlPp2nRClRHcewtdTHjh61lGOqA4I39+g1E/U2HYn37K+jbuqKV0ShsTE iuEaABIKo0Mgw/ePaSAuE/eWrAT1I3iOvq7Y09+1bzE9ZV4iy65TA1k8CI5sWH4jYCiROD4ol l3IbvIZ/Ua484ZmP+tjmmRW+2slk9+8YOVNq8G24dcn2YQB4aoEunh9eG6kuo+O2yG7ighMIe I0sTeokS7c6A3BwijXGQY2b+NFzFAeN+jKnP5VxvjM7Me6dCXB8n0KPVQ9PmhrjwCyrQ7f42v 6UrYZI7CQUnyKN0NCKs7VFpsBgx6m/+i9SJxrbLqYeWQrm/zujm4Ie1GPYT1Q73nE0v1lO1Vg Om0/GUpxN/o7gaklebQkccKiuxsDrx/jyD0tR1z1fE0RsLBdY/F/mwNM4a6NeJN7HGNxr/eDP RmL13GWGBGdehilHjV4EO4QEagaqA/Xm2A1+i0rGYlz9xKpNxoV+rjPEE8N03/LSiRxyWOe43 rgj28bL3Ulw== Cc: alsa-devel@alsa-project.org, Jonathan Corbet , linux-kernel@vger.kernel.org, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Pierre-Louis Bossart , Vinod Koul , Sanyog Kale Subject: [alsa-devel] [PATCH] Documentation: soundwire: Ensure that code is inside the code blocks 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" X-Virus-Scanned: ClamAV using ClamSMTP The way the document is written now, Sphinx renders empty code blocks followed by the lines that should be inside them. Unindent the code-block directives to fix this. Fixes: 502c00d9c315 ("Documentation: soundwire: fix stream.rst markup warnings") Signed-off-by: Jonathan Neuschäfer --- Documentation/driver-api/soundwire/stream.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.20.1 diff --git a/Documentation/driver-api/soundwire/stream.rst b/Documentation/driver-api/soundwire/stream.rst index 26a6064503fd..5351bd2f34a8 100644 --- a/Documentation/driver-api/soundwire/stream.rst +++ b/Documentation/driver-api/soundwire/stream.rst @@ -201,7 +201,7 @@ Bus implements below API for allocate a stream which needs to be called once per stream. From ASoC DPCM framework, this stream state maybe linked to .startup() operation. - .. code-block:: c +.. code-block:: c int sdw_alloc_stream(char * stream_name); @@ -228,7 +228,7 @@ the respective Master(s) and Slave(s) associated with stream. These APIs can only be invoked once by respective Master(s) and Slave(s). From ASoC DPCM framework, this stream state is linked to .hw_params() operation. - .. code-block:: c +.. code-block:: c int sdw_stream_add_master(struct sdw_bus * bus, struct sdw_stream_config * stream_config, @@ -274,7 +274,7 @@ Bus implements below API for PREPARE state which needs to be called once per stream. From ASoC DPCM framework, this stream state is linked to .prepare() operation. - .. code-block:: c +.. code-block:: c int sdw_prepare_stream(struct sdw_stream_runtime * stream); @@ -304,7 +304,7 @@ Bus implements below API for ENABLE state which needs to be called once per stream. From ASoC DPCM framework, this stream state is linked to .trigger() start operation. - .. code-block:: c +.. code-block:: c int sdw_enable_stream(struct sdw_stream_runtime * stream); @@ -332,7 +332,7 @@ Bus implements below API for DISABLED state which needs to be called once per stream. From ASoC DPCM framework, this stream state is linked to .trigger() stop operation. - .. code-block:: c +.. code-block:: c int sdw_disable_stream(struct sdw_stream_runtime * stream); @@ -357,7 +357,7 @@ Bus implements below API for DEPREPARED state which needs to be called once per stream. From ASoC DPCM framework, this stream state is linked to .trigger() stop operation. - .. code-block:: c +.. code-block:: c int sdw_deprepare_stream(struct sdw_stream_runtime * stream); @@ -382,7 +382,7 @@ Bus implements below APIs for RELEASE state which needs to be called by all the Master(s) and Slave(s) associated with stream. From ASoC DPCM framework, this stream state is linked to .hw_free() operation. - .. code-block:: c +.. code-block:: c int sdw_stream_remove_master(struct sdw_bus * bus, struct sdw_stream_runtime * stream); @@ -395,7 +395,7 @@ stream assigned as part of ALLOCATED state. In .shutdown() the data structure maintaining stream state are freed up. - .. code-block:: c +.. code-block:: c void sdw_release_stream(struct sdw_stream_runtime * stream);