Re: [PATCH v2 1/5] usb: misc: qcom_eud: clear the enabled state on disable

From: Mukesh Ojha

Date: Tue Nov 24 2026 - 05:23:26 EST


On Mon, Nov 23, 2026 at 05:42:56PM +0100, Igor Opaniuk wrote:
> enable_store() sets chip->enabled when the EUD is enabled but never
> clears it. After a disable the "enable" attribute keeps reading 1, and
> eud_remove() disables the EUD once more.
>
> Clear it when disable_eud() succeeds.
>
> Fixes: 9a1bf58ccd44 ("usb: misc: eud: Add driver support for Embedded USB Debugger(EUD)")
> Signed-off-by: Igor Opaniuk <igor.opaniuk@xxxxxxxxxxxxxxxx>

Reviewed-by: Mukesh Ojha <mukesh.ojha@xxxxxxxxxxxxxxxx>

--
-Mukesh Ojha