Commit: 8ce47e71757fc90d13ff9e1e7b189ff751b3ac20
Parent: ad7db1fa1f596e948df2bb088d607bf8e2e18ab3
Author: Haochen Tong <i@hexchain.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-01-14 03:30:53
Tree: d369e35a1c4d5b3c99dc510c009f177454ed797d

avctp: Fix EINVAL on uinput creation The struct uinput_dev variable is on stack, so clear its content to avoid accidentally writing garbage values to kernel. This fixes "Can't create uinput device: Invalid argument (22)" in some cases.

Diffstat

M profiles/audio/avctp.c | 2 ++

1 files changed, 2 insertions(+), 0 deletions(-)

View Full Diff | Patch