Dominique Leuenberger
6ec9e6d8a0
- Backport upstream fixes: 0001-local.h-use-__kernel_off_t-from-linux-types.h.patch 0002-conf-cards-add-Audio-Advantage-Micro-II.patch 0003-pcm-Fix-a-wrong-value-shown-in-the-error-message-in-.patch 0004-UCM-Document-some-standard-values.patch 0005-hdspm.h-Update-LTC-ioctl-to-use-struct-hdspm_ltc.patch 0006-Update-iatomic.h-functions-definitions-for-mips.patch OBS-URL: https://build.opensuse.org/request/show/197613 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=139
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From 4b169b05b48f4ea0196879b62b8c3fa5b050e806 Mon Sep 17 00:00:00 2001
|
|
From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
|
|
Date: Mon, 19 Aug 2013 17:31:37 +0200
|
|
Subject: [PATCH 5/6] hdspm.h: Update LTC ioctl to use struct hdspm_ltc
|
|
|
|
Use struct hdspm_ltc to query the LTC, using a mixer struct was just
|
|
plain wrong.
|
|
|
|
Due to the wrong struct, this ioctl was never working, so we're free to
|
|
fix it without breaking userspace compatibility.
|
|
|
|
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
---
|
|
include/sound/hdspm.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/include/sound/hdspm.h b/include/sound/hdspm.h
|
|
index 1774ff5..fe9c5f6 100644
|
|
--- a/include/sound/hdspm.h
|
|
+++ b/include/sound/hdspm.h
|
|
@@ -111,7 +111,7 @@ struct hdspm_ltc {
|
|
enum hdspm_ltc_input_format input_format;
|
|
};
|
|
|
|
-#define SNDRV_HDSPM_IOCTL_GET_LTC _IOR('H', 0x46, struct hdspm_mixer_ioctl)
|
|
+#define SNDRV_HDSPM_IOCTL_GET_LTC _IOR('H', 0x46, struct hdspm_ltc)
|
|
|
|
/**
|
|
* The status data reflects the device's current state
|
|
--
|
|
1.8.4
|
|
|