Re: [PATCH v1] usb: typec: altmodes/displayport: add irq_hpd to sysfs

From: Greg KH
Date: Thu Jun 19 2025 - 00:33:30 EST


On Thu, Jun 19, 2025 at 12:03:40AM +0000, RD Babiera wrote:
> @@ -170,6 +178,9 @@ static int dp_altmode_status_update(struct dp_altmode *dp)
> dp->hpd = hpd;
> dp->pending_hpd = true;
> }
> + if (dp->hpd && dp->pending_hpd && irq_hpd) {
> + dp->pending_irq_hpd = true;
> + }

Didn't checkpatch complain about not needing the {} here?

thanks,

greg k-h