Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2935836pxt; Mon, 9 Aug 2021 12:26:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHGra06m/sduTQWk5+lu9CRGoYOoipwLUYMFzJlXaE5HXtK4F8OuoOl+jibinanjsgnEky X-Received: by 2002:a05:6602:446:: with SMTP id e6mr78553iov.3.1628537192542; Mon, 09 Aug 2021 12:26:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628537192; cv=none; d=google.com; s=arc-20160816; b=tHCcoZFtkB1tjFHHFjSVgH5bpDQq8yAieoOWqLD48t+Sqvl0oX8XFtydEwtYiEzGij oesRPmeP6GvBSKCdEXF/FSsNNj627bfxfCJFXVZrMsmomPKCUwshodNEvfYNy+oudjgD c9ElYroUPByxsYQEY/7sGfGWXA6cNK6Dkpkc4pZFrNmtBDOb56w31mE9jTNxgFcZyt3M XIFaHsXetmB17TfWqA1FI6zUxd0yPRvTJKm4jJh8536zo955nhB6OJeQVlo6mFDiuxb6 xUB3xBch4xjBi0j/JZBuwp8/Lv2E7dzaGyCNSz7iw0GjJNVgSDmPozeB7zr05HHja3B0 La2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=PABjtey2JF6+lE5xAmC1vG1YEkkhxYVWQv8oH+yCWPE=; b=L3UOCZpl2HFW7Cb9V4glh+dlmB3/tZe9ZMMP1KvEHGKY2orDd0MPSPANBBvSadpAXf w7JND0R5FQkmIe1SZvpdqUsdiJZ83Rzbmq0yekqfXwhFk+EBx9VGb6LKidJ0N94OB4ac h+hYKzsemKj4rER87HjlXKo2vN9D93TwpqEe4H9F4/bFSG588eGYE0CO6b7yx78jNOGz z1UulC+wZ8Dj9TqUnUCMnqtFWjJX0+XZ4MbC097IN2O9PhTmxtG9Kx8BsFafBUKl6uWT jiK14PldlVl2SURQGcswGWNlwzBasp+MvoSuwvRZKCoya/L/WH3eObqMavRBGFTM+Tst GtJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h4si17513967ilj.137.2021.08.09.12.26.16; Mon, 09 Aug 2021 12:26:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236065AbhHITYP (ORCPT + 99 others); Mon, 9 Aug 2021 15:24:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:47646 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235487AbhHITYL (ORCPT ); Mon, 9 Aug 2021 15:24:11 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (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 C65C260FDA; Mon, 9 Aug 2021 19:23:45 +0000 (UTC) Date: Mon, 9 Aug 2021 20:26:37 +0100 From: Jonathan Cameron To: William Breathitt Gray Cc: linux-stm32@st-md-mailman.stormreply.com, kernel@pengutronix.de, a.fatoum@pengutronix.de, kamel.bouhara@bootlin.com, gwendal@chromium.org, alexandre.belloni@bootlin.com, david@lechnology.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, syednwaris@gmail.com, patrick.havelange@essensium.com, fabrice.gasnier@st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, o.rempel@pengutronix.de, jarkko.nikula@linux.intel.com Subject: Re: [PATCH v15 01/13] counter: 104-quad-8: Describe member 'lock' in 'quad8' Message-ID: <20210809202637.4aac5c81@jic23-huawei> In-Reply-To: <43b4acab9e238638c7067dd4a363a42f94c94ccb.1628511445.git.vilhelm.gray@gmail.com> References: <43b4acab9e238638c7067dd4a363a42f94c94ccb.1628511445.git.vilhelm.gray@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 9 Aug 2021 21:37:26 +0900 William Breathitt Gray wrote: > This adds a kernel-doc comment line describing the 'lock' member of the > 'quad8' structure. > > Acked-by: Syed Nayyar Waris > Signed-off-by: William Breathitt Gray Initially I was confused as to when Syed had acked a new patch, but then realised you have pulled it out of the later spinlock conversion patch which Syed had indeed acked, so fair enough. Applied to the togreg branch of iio.git and (unlike yesterday) pushed out as testing for 0-day to poke at it. > --- > drivers/counter/104-quad-8.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/counter/104-quad-8.c b/drivers/counter/104-quad-8.c > index 5283ff128c17..0caa60537b14 100644 > --- a/drivers/counter/104-quad-8.c > +++ b/drivers/counter/104-quad-8.c > @@ -28,6 +28,7 @@ MODULE_PARM_DESC(base, "ACCES 104-QUAD-8 base addresses"); > > /** > * struct quad8 - device private data structure > + * @lock: lock to prevent clobbering device states during R/W ops > * @counter: instance of the counter_device > * @fck_prescaler: array of filter clock prescaler configurations > * @preset: array of preset values