Re: [PATCH v2] usb: typec: Fix fast_role_swap_current show function

From: Prashant Malani
Date: Thu Jun 15 2023 - 13:22:39 EST


On Wed, Jun 7, 2023 at 12:33 PM Pavan Holla <pholla@xxxxxxxxxxxx> wrote:
>
> The current implementation mistakenly performs a & operation on
> the output of sysfs_emit. This patch performs the & operation before
> calling sysfs_emit.
>
> Fixes: 662a60102c12 ("usb: typec: Separate USB Power Delivery from USB Type-C")
> Reported-by: Benson Leung <bleung@xxxxxxxxxxxx>
> Signed-off-by: Pavan Holla <pholla@xxxxxxxxxxxx>
Reviewed-by: Prashant Malani <pmalani@xxxxxxxxxxxx>