Skip to content

Commit 6edbfc8

Browse files
committed
typec: displayport: fix ret error
1 parent a4d5102 commit 6edbfc8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/usb/typec/altmodes/displayport.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ static void dp_altmode_update_extcon(struct dp_altmode *dp, bool disconnect) {
198198

199199
static int dp_altmode_configured(struct dp_altmode *dp)
200200
{
201+
int ret;
202+
201203
sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration");
202204

203205
if (!dp->data.conf) {

0 commit comments

Comments
 (0)