Skip to content

Commit 01b3db2

Browse files
tititiou36gregkh
authored andcommitted
tty: goldfish: Fix a parameter of a call to free_irq
[ Upstream commit 1a5c2d1de7d35f5eb9793266237903348989502b ] 'request_irq()' and 'free_irq()' should be called with the same dev_id. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f97c79e commit 01b3db2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/tty/goldfish.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ static int goldfish_tty_probe(struct platform_device *pdev)
293293
return 0;
294294

295295
err_tty_register_device_failed:
296-
free_irq(irq, pdev);
296+
free_irq(irq, qtty);
297297
err_request_irq_failed:
298298
goldfish_tty_current_line_count--;
299299
if (goldfish_tty_current_line_count == 0)

0 commit comments

Comments
 (0)