alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: topology: Reenable use from userspace
@ 2015-10-26  3:41 Mark Brown
  2015-10-26  3:54 ` Koul, Vinod
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Mark Brown @ 2015-10-26  3:41 UTC (permalink / raw)
  To: Liam Girdwood, Takashi Iwai, Vinod Koul, Mendong Lin
  Cc: alsa-devel, Mark Brown

We had inserted a #error into the topology UAPI code to ensure that the
ABI was not adopted by userspace while final review and testing was
ongoing.  Since we are now comfortable that the ABI is suitable for
production remove the #error, future changes will include provision for
backwards compatibility.

Signed-off-by: Mark Brown <broonie@kernel.org>
---

Are we OK with this?  Looking for some acks and reviews...

 include/uapi/sound/asoc.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h
index 247c50b..51b8066 100644
--- a/include/uapi/sound/asoc.h
+++ b/include/uapi/sound/asoc.h
@@ -18,12 +18,6 @@
 #include <linux/types.h>
 #include <sound/asound.h>
 
-#ifndef __KERNEL__
-#error This API is an early revision and not enabled in the current
-#error kernel release, it will be enabled in a future kernel version
-#error with incompatible changes to what is here.
-#endif
-
 /*
  * Maximum number of channels topology kcontrol can represent.
  */
-- 
2.6.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH] ASoC: topology: Reenable use from userspace
@ 2016-10-06 14:30 Mark Brown
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2016-10-06 14:30 UTC (permalink / raw)
  To: Takashi Iwai, Liam Girdwood, mengdong.lin; +Cc: alsa-devel, Mark Brown

We had inserted a #error into the topology UAPI code to ensure that the
ABI was not adopted by userspace while final review and testing was
ongoing.  The idea was that some finishing touches would be made to the
ABI before declaring it stable and suitable for use in production but
this has not yet happened as more than a year later revisions to the ABI
are still onging.

The reality however is that people are shipping topology files in
production and these ABI changes are causing practical issues for users
and we can't break userspace.  This makes this error pointless so we
should remove it.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
---
 include/uapi/sound/asoc.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h
index 33d00a4ce656..819d895edfdc 100644
--- a/include/uapi/sound/asoc.h
+++ b/include/uapi/sound/asoc.h
@@ -18,12 +18,6 @@
 #include <linux/types.h>
 #include <sound/asound.h>
 
-#ifndef __KERNEL__
-#error This API is an early revision and not enabled in the current
-#error kernel release, it will be enabled in a future kernel version
-#error with incompatible changes to what is here.
-#endif
-
 /*
  * Maximum number of channels topology kcontrol can represent.
  */
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-10-11 10:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26  3:41 [PATCH] ASoC: topology: Reenable use from userspace Mark Brown
2015-10-26  3:54 ` Koul, Vinod
2015-10-26  7:30 ` Takashi Iwai
2015-10-27  0:22   ` Mark Brown
2015-10-31  2:54 ` Mark Brown
2015-11-02 10:47   ` Liam Girdwood
2016-10-11 10:28 ` Applied "ASoC: topology: Reenable use from userspace" to the asoc tree Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2016-10-06 14:30 [PATCH] ASoC: topology: Reenable use from userspace Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).