diff options
author | Pavan Holla <[email protected]> | 2023-06-07 19:33:26 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-06-13 12:16:07 +0200 |
commit | 92c9c3baad6b1fd584fbabeaa4756f9b77926cb5 (patch) | |
tree | 843f34a145c9bedbe8e630b195a048d0fb06077a /drivers/fpga/fpga-mgr.c | |
parent | c4a8bfabefed706bb9150867db528ceefd5cb5fe (diff) |
usb: typec: Fix fast_role_swap_current show function
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")
Cc: stable <[email protected]>
Reported-by: Benson Leung <[email protected]>
Signed-off-by: Pavan Holla <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Reviewed-by: Benson Leung <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions