Skip to content

Commit e642921

Browse files
Linu Cheriandavem330
authored andcommitted
octeontx2-af: Use matching wake_up API variant in CGX command interface
Use wake_up API instead of wake_up_interruptible, since wait_event_timeout API is used for waiting on command completion. Fixes: 1463f38 ("octeontx2-af: Add support for CGX link management") Signed-off-by: Linu Cherian <lcherian@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent fbec4e7 commit e642921

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/ethernet/marvell/octeontx2/af

drivers/net/ethernet/marvell/octeontx2/af/cgx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@ static irqreturn_t cgx_fwi_event_handler(int irq, void *data)
13381338

13391339
/* Release thread waiting for completion */
13401340
lmac->cmd_pend = false;
1341-
wake_up_interruptible(&lmac->wq_cmd_cmplt);
1341+
wake_up(&lmac->wq_cmd_cmplt);
13421342
break;
13431343
case CGX_EVT_ASYNC:
13441344
if (cgx_event_is_linkevent(event))

0 commit comments

Comments
 (0)