[PATCH 5.6 26/29] Revert "ALSA: uapi: Drop asound.h inclusion from asoc.h"

From: Greg Kroah-Hartman
Date: Tue Apr 07 2020 - 06:27:12 EST


From: Takashi Iwai <tiwai@xxxxxxx>

commit b6f69c795547f59ddf1db17cddbd2b9a15c656ed upstream.

This reverts commit 645c08f17f477915f6d900b767e789852f150054
which was reported to break the build a program using this header.

The original issue was addressed in the alsa-lib side recently, so we
can make the header more self-contained again.

Reported-by: Dmitry V. Levin <ldv@xxxxxxxxxxxx>
Fixes: 645c08f17f47 ("ALSA: uapi: Drop asound.h inclusion from asoc.h")
Cc: <stable@xxxxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20200331090023.8112-1-tiwai@xxxxxxx
Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
include/uapi/sound/asoc.h | 1 +
1 file changed, 1 insertion(+)

--- a/include/uapi/sound/asoc.h
+++ b/include/uapi/sound/asoc.h
@@ -17,6 +17,7 @@
#define __LINUX_UAPI_SND_ASOC_H

#include <linux/types.h>
+#include <sound/asound.h>

/*
* Maximum number of channels topology kcontrol can represent.