From patchwork Tue Apr 9 18:41:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ruben Wauters X-Patchwork-Id: 787399 Received: from sonic314-47.consmr.mail.gq1.yahoo.com (sonic314-47.consmr.mail.gq1.yahoo.com [98.137.69.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B137013E3E8 for ; Tue, 9 Apr 2024 19:04:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=98.137.69.110 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712689498; cv=none; b=c6jYhfSu8NF7TLGM5JvbVf94ts9cadDMlSJk67HKqoesElBQns9df15u3/pcByWU+UWfcFwDc0zZKKJ0Ts7v72ndWvGAL9KAWHM6oFgO9fmdELsHyjQDQs6HK3sBbPLm7ttRwDrgnBmSQpmlNZEabesBjGBjX/c29mBjFx4hZxE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712689498; c=relaxed/simple; bh=BQJfeRSufpFGodd8rMe466N1vCnYdEkSI0N66CuKxRM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:References; b=nSHo+eBNUCtGnQ84cbmOAQiJRechZBxUG8rO+ziBa132RdNKLwlKrh7rGAE9OANZIElGnFvpc5lETeYpouPB/Bct6K/J6C0524Dl77qg5CSOKGxmdO4B678il6Ubcxcx74IHppWPK9X9QOrD0XfPS4sj1++OMfQ7CGScpzl4ILo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=aol.com; spf=pass smtp.mailfrom=aol.co.uk; dkim=pass (2048-bit key) header.d=aol.com header.i=@aol.com header.b=Fv3ZcXwk; arc=none smtp.client-ip=98.137.69.110 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=aol.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aol.co.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=aol.com header.i=@aol.com header.b="Fv3ZcXwk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1712689496; bh=lViEOK22o2scRmzhNDSZH/yExFY8hHG9CFsadvOzVnM=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=Fv3ZcXwk7Wo/zSgnEezDWhnIu41ZAELXZva4j31wwPbUsn04Vm0x4t9uCeX4FolXLts1QikYhsZ+WuLnCJv2ABz9ZWTytl1yaEDKg4YxAc79vw43i2VBuZGxjFLH2rsZPL8tW/FCc/ntKpApm9Oz2O9YMGii4F0Ec8JWDOt6C48OMV7oxzAc+Vavuo0KgyMAyzosV2oj2c7mXbJisqr+cHNHg7KTPPlSLPN4ErmMLDarA7x7MnlfxeNYgulhGMOA/JR3z8sao8aFlcag8NqE8mk4SpxfUsfddveESJJI4u8ZPCemqr8MGBOd7P+eGy5kjl+PYv6BBsLFgm3kgeu9sw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1712689496; bh=CnLbUJe24/W3lRtQGmpVREaNV3vOW3Rairozpg8gbIv=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=PNbMLyrTQQZ8nguhBt2kIVJ4DjvmmBs3s8CtW95mCJXGY3FW9gmPfAWNQfruUS2WkBbUOeAtSHBfon3xuc9cs6R7eXAPBkd0Ir8oHbBM4JtVngoXStskS9om7uxzjwdkn+a60nVci0os5UgZpaD4OSumyCGlXjL6UJ1mCQAziP9kDx4DOdW6w9ShwYr4sZLSHLyIgMdudVDs3s9p3I3bMK57DnyJY1fsS7Dr/oheSIKkQ38PtEZUJEoPvxvOA8jWYUm7HJtxc5KF2JeA84MWI65BDS0J1Cr/4Jh7xJ0X4MSx4OuJ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koVhGVdCamnX4705y5EaUid1KtM mkgqwWpFzdZM6VuOOLamIyPZG5J27KUGWo53Wp5qNhyhhpZ6GXHxXpm5JyW0Fh5Z9rXP6bUdNwlR wgmvA1BFtQnRFM5EefX9jQDf66FtUObnlmehOTaCxtQrMBLq.pWjMQ8IUHS6XMleP48yca89GlIA xIoOu5HVOpGq.fMXPXHFJtpqy8G8WjwwXqKZc4sZcHkzW X-Sonic-MF: X-Sonic-ID: c39362b4-5d36-47e6-856f-466417afdca1 Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Tue, 9 Apr 2024 19:04:56 +0000 Received: by hermes--production-bf1-7d6dbd57c9-78xqv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a5e4f95afd9edc1dd40f38e3c4f8417d; Tue, 09 Apr 2024 18:42:41 +0000 (UTC) From: Ruben Wauters To: Mark Brown Cc: Ruben Wauters , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH] spi: Add documentation for last_cs_index_mask Date: Tue, 9 Apr 2024 19:41:05 +0100 Message-Id: <20240409184106.22715-1-rubenru09@aol.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240409184106.22715-1-rubenru09.ref@aol.com> Documentation was missing for last_cs_index_mask, this was shown by a warning in make htmldocs. I have based the documentation off the docs for cs_index_mask, given that they should be similar. This is my first patch, so I hope I did everything right, please let me know if I need to change something, and I shall endevour to do it properly. Signed-off-by: Ruben Wauters --- include/linux/spi/spi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index c459809efee4..ed941e65791a 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -453,6 +453,8 @@ extern struct spi_device *spi_new_ancillary_device(struct spi_device *spi, u8 ch * @last_cs_mode_high: was (mode & SPI_CS_HIGH) true on the last call to set_cs. * @last_cs: the last chip_select that is recorded by set_cs, -1 on non chip * selected + * @last_cs_index_mask: the last active chip select bit masks in the chip select + * array * @xfer_completion: used by core transfer_one_message() * @busy: message pump is busy * @running: message pump is running