Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | HID: u2fzero: fail probe if not using USB transport | Jiri Kosina | 2019-04-17 | 1 | -0/+3 |
| | | | | | | | | | | | u2fzero driver is USB-only. Therefore we have to give up in ->probe() callback in case we're called with non-USB transport driver bound, otherwise the kernel will crash trying to use USBHID API on a non-USB transport. Fixes: 42337b9d4d958("HID: add driver for U2F Zero built-in LED and RNG") Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | ||||
* | HID: add driver for U2F Zero built-in LED and RNG | Andrej Shadura | 2019-04-10 | 1 | -0/+371 |
U2F Zero supports custom commands for blinking the LED and getting data from the internal hardware RNG. Expose the blinking function as a LED device, and the internal hardware RNG as an HWRNG so that it can be used to feed the enthropy pool. Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk> Signed-off-by: Jiri Kosina <jkosina@suse.cz> |