Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 740ef39b authored by Sébastien Szymanski's avatar Sébastien Szymanski Committed by Greg Kroah-Hartman
Browse files

HID: cp2112: add HIDRAW dependency



commit cde3076b upstream.

Otherwise, with HIDRAW=n, the probe function crashes because of null
dereference of hdev->hidraw.

Fixes: 42cb6b35 ("HID: cp2112: use proper hidraw name with minor number")
Signed-off-by: default avatarSébastien Szymanski <sebastien.szymanski@armadeus.com>
Acked-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 417b152e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment