ALSA: timer: Fix broken compat timer user status ioctl
authorTakashi Iwai <tiwai@suse.de>
Sun, 28 Feb 2016 10:36:14 +0000 (11:36 +0100)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:12:21 +0000 (13:12 +0000)
commit947e690676e88f257107a115e463e77a5b236dd2
tree0b06391c0e0884342f49f758229eccca4ea2b6ca
parent77b87d9c5c544af65717c8874f6952431740e442
ALSA: timer: Fix broken compat timer user status ioctl

commit 3a72494ac2a3bd229db941d51e7efe2f6ccd947b upstream.

The timer user status compat ioctl returned the bogus struct used for
64bit architectures instead of the 32bit one.  This patch addresses
it to return the proper struct.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/timer_compat.c