drivers/staging/nvec/nvec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Convert a block comment describing the AP20 hardware bug workaround
to the preferred kernel block comment format.
This change only adjusts the comment style and does not modify the
behavior of the driver.
Signed-off-by: Avon-Hermit <avon.hermit@gmail.com>
---
drivers/staging/nvec/nvec.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index e9af66a08448..736f11942174 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
@@ -659,8 +659,9 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
nvec_tx_set(nvec);
to_send = nvec->tx->data[0];
nvec->tx->pos = 1;
- /* delay ACK due to AP20 HW Bug
- do not replace by usleep_range */
+ /*
+ * Delay ACK due to AP20 HW Bug; do not replace by usleep_range.
+ */
udelay(33);
} else if (status == (I2C_SL_IRQ)) {
nvec->rx->data[1] = received;
--
2.47.3
Hi,
Sorry, I didn't notice the earlier patch.
Please ignore this one.
Thanks,
Avon
On Wed, Mar 04, 2026 at 01:47:20PM +0800, Avon-Hermit wrote:
> Convert a block comment describing the AP20 hardware bug workaround
> to the preferred kernel block comment format.
>
> This change only adjusts the comment style and does not modify the
> behavior of the driver.
>
> Signed-off-by: Avon-Hermit <avon.hermit@gmail.com>
> ---
> drivers/staging/nvec/nvec.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
> index e9af66a08448..736f11942174 100644
> --- a/drivers/staging/nvec/nvec.c
> +++ b/drivers/staging/nvec/nvec.c
> @@ -659,8 +659,9 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
> nvec_tx_set(nvec);
> to_send = nvec->tx->data[0];
> nvec->tx->pos = 1;
> - /* delay ACK due to AP20 HW Bug
> - do not replace by usleep_range */
> + /*
> + * Delay ACK due to AP20 HW Bug; do not replace by usleep_range.
> + */
> udelay(33);
> } else if (status == (I2C_SL_IRQ)) {
> nvec->rx->data[1] = received;
> --
> 2.47.3
>
© 2016 - 2026 Red Hat, Inc.