USB: serial: kl5kusb105: fix open error path
commit07340eaf074342522108475ce0b4d535f52b911b
authorJohan Hovold <johan@kernel.org>
Tue, 29 Nov 2016 15:55:01 +0000 (29 16:55 +0100)
committerSasha Levin <alexander.levin@verizon.com>
Fri, 13 Jan 2017 01:56:54 +0000 (12 20:56 -0500)
treef32edfa9c156876151fcbba3e444e8f4b7033c5b
parentb4fa7414cb796668b06e23275d2c1775ae9814c8
USB: serial: kl5kusb105: fix open error path

[ Upstream commit 6774d5f53271d5f60464f824748995b71da401ab ]

Kill urbs and disable read before returning from open on failure to
retrieve the line state.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
drivers/usb/serial/kl5kusb105.c