Staging clear up
Moorestown/Oaktrail has appeared only in the PC like form so the following bits of staging can be binned
drivers/staging/spectra
(not needed)
drivers/staging/intel_sst
This also appears on Medfield but there is an ASoC driver for the Medfield version and we no longer need to keep this. There were naughty bits of code peeking into staging for files but that should now be sorted (and if not they need to break and be forced to fix them)
I can send patches but they are enormous and rather boring...
I will be sending patches for other bits like the battery manager which in actual product is always ACPI handled.
Alan
Quoted 7 lines · Alan Cox
Moorestown/Oaktrail has appeared only in the PC like form so the following bits of staging can be binned
drivers/staging/spectra(not needed)
Quoted 8 lines
drivers/staging/intel_sstThis also appears on Medfield but there is an ASoC driver for the Medfield version and we no longer need to keep this. There were naughty bits of code peeking into staging for files but that should now be sorted (and if not they need to break and be forced to fix them)
I can send patches but they are enormous and rather boring...
Ok, I'll go delete these two directories. No reason it can't be done for 3.2, or do you want me to wait until 3.3?
thanks,
greg k-h
Quoted 4 lines
Quoted 1 line
I can send patches but they are enormous and rather boring...
Ok, I'll go delete these two directories. No reason it can't be done for 3.2, or do you want me to wait until 3.3?
No reason to wait as far as I am concerned.
Alan
Quoted 6 lines · Alan Cox
Quoted 4 lines
Quoted 1 line
I can send patches but they are enormous and rather boring...
Ok, I'll go delete these two directories. No reason it can't be done for 3.2, or do you want me to wait until 3.3?
No reason to wait as far as I am concerned.
Great, I'll queue it up tomorrow, thanks for letting me know.
greg k-h
Quoted 6 lines · Alan Cox
drivers/staging/intel_sstThis also appears on Medfield but there is an ASoC driver for the Medfield version and we no longer need to keep this. There were naughty bits of code peeking into staging for files but that should now be sorted (and if not they need to break and be forced to fix them)
There was also all the compressed audio offload stuff in there which is useful but isn't integrated yet. Vinod posted a version of the generic compressed API but work seems to have stalled again.
Quoted 4 lines · Mark Brown
Quoted 1 line · Alan Cox
drivers/staging/intel_sst
Quoted 8 lines
Quoted 4 lines
This also appears on Medfield but there is an ASoC driver for the Medfield version and we no longer need to keep this. There were naughty bits of code peeking into staging for files but that should now be sorted (and if not they need to break and be forced to fix them)
There was also all the compressed audio offload stuff in there which is useful but isn't integrated yet. Vinod posted a version of the generic compressed API but work seems to have stalled again.
I have a reworked version of this driver which uses the new compressed API, I am planning to get that in mainline by 3.3
Yes work is slow but not stalled :(
Alan, if you folks are not using the staging driver I am okay for its removal
Signature · 1 line
~Vinod
Quoted 2 lines · Vinod Koul
Alan, if you folks are not using the staging driver I am okay for its removal
Someone will need to fix the build breakage from peering at the headers from staging.
Quoted 7 lines · Mark Brown
Quoted 2 lines · Vinod Koul
Alan, if you folks are not using the staging driver I am okay for its removal
Someone will need to fix the build breakage from peering at the headers from staging.
Not really. The current driver will not build unless you tweak the Kconfig. It has clear depends rule, so build will not break.
Signature · 1 line
~Vinod
Quoted 7 lines · Vinod Koul
Quoted 2 lines · Mark Brown
Someone will need to fix the build breakage from peering at the headers from staging.
Not really. The current driver will not build unless you tweak the
Kconfig. It has clear depends rule, so build will not break.
Well, if that's the case we may as well delete the ASoC driver too since it'll not be possible to build it :)
Quoted 11 lines · Mark Brown
Quoted 7 lines · Vinod Koul
Quoted 2 lines · Mark Brown
Someone will need to fix the build breakage from peering at the headers from staging.
Not really. The current driver will not build unless you tweak the
Kconfig. It has clear depends rule, so build will not break.Well, if that's the case we may as well delete the ASoC driver too since it'll not be possible to build it :)
Okay how about this, I give you nice beer when you meet me next time :D I will ensure it builds for you for 3.3
Offtopic: I am ready with v2 of compressed API, testing stuff out. If you/Dimitris have stuff to add, please drop me a note. I didn't see any update after I published the tree
Signature · 1 line
~Vinod
Quoted 3 lines · Vinod Koul
Offtopic: I am ready with v2 of compressed API, testing stuff out. If you/Dimitris have stuff to add, please drop me a note. I didn't see any update after I published the tree
I'm pretty sure Dimitris has some stuff.
Quoted 7 lines · Mark Brown
Quoted 3 lines · Vinod Koul
Offtopic: I am ready with v2 of compressed API, testing stuff out. If you/Dimitris have stuff to add, please drop me a note. I didn't see any update after I published the tree
I'm pretty sure Dimitris has some stuff.
Care to send me?
I will push my updates worst case by week end. Fixed some usual misses found in testing and reworked the avail calculation.
Signature · 1 line
~Vinod
Quoted 7 lines · Vinod Koul
Quoted 6 lines · Mark Brown
Quoted 3 lines · Vinod Koul
Offtopic: I am ready with v2 of compressed API, testing stuff out. If you/Dimitris have stuff to add, please drop me a note. I didn't see any update after I published the tree
Quoted 5 lines
Quoted 1 line
I'm pretty sure Dimitris has some stuff.
Care to send me?
I will push my updates worst case by week end. Fixed some usual misses found in testing and reworked the avail calculation.
Hi Vinod,
Will send some of my updates when I re-work them. At the moment I was working around some of the issues I found.
Thanks,
Dimitris
Quoted 7 lines · Mark Brown
Quoted 2 lines · Vinod Koul
Alan, if you folks are not using the staging driver I am okay for its removal
Someone will need to fix the build breakage from peering at the headers from staging.
What code is including header files from the staging tree in the rest of the kernel?
greg k-h
Quoted 7 lines · Greg KH
Quoted 2 lines · Mark Brown
Someone will need to fix the build breakage from peering at the headers from staging.
What code is including header files from the staging tree in the rest of the kernel?
The mainline ASoC driver for one of these Intel SoCs, can't remember which one.
Quoted 11 lines · On Wed, 9 Nov 2011 16:58:29 +0000 Mark Brown…
Quoted 7 lines · Greg KH
Quoted 2 lines · Mark Brown
Someone will need to fix the build breakage from peering at the headers from staging.
What code is including header files from the staging tree in the rest of the kernel?
The mainline ASoC driver for one of these Intel SoCs, can't remember which one.
Something like this I think
commit a0404920aea226d74043ea56aab06be25def5475
Author: Alan Cox <[email protected]> Date: Tue Nov 8 21:13:00 2011 +0000
mrst: Kill the sst audio driver
The sst audio mode isn't exposed in the PC mode used by Oaktrail devices so it isn't in any products. The Medfield device has a similar audio layer but this is handled by the ALSA SoC driver so we don't need this driver any more.
We have to move a couple of headers because soc was fishing in the staging directory when it shouldn't. I've pointed this out some months back and they did nothing so I'm doing it for them.
sound/soc/codecs/sn95031.c +1 -1
@@ -39,7 +39,7 @@#include <sound/initval.h> #include <sound/tlv.h> #include <sound/jack.h> -#include "../../../drivers/staging/intel_sst/intel_sst.h" +#include "../mid-x86/intel_sst.h" #include "sn95031.h" #define SN95031_RATES (SNDRV_PCM_RATE_8000_96000)
sound/soc/mid-x86/intel_sst.h new file +153 -0
153 lines not on this page · raw message
sound/soc/mid-x86/intel_sst_ioctl.h new file +446 -0
446 lines not on this page · raw message
Quoted 1 line · Alan Cox
Something like this I think
Yes, though...
sound/soc/codecs/sn95031.c line 42
Quoted 8 lines
sound/soc/codecs/sn95031.c +1
-1@@ -39,7 +39,7 @@#include <sound/initval.h> #include <sound/tlv.h> #include <sound/jack.h> -#include "../../../drivers/staging/intel_sst/intel_sst.h" +#include "../mid-x86/intel_sst.h"
..this can hopefully just be removed completely, if it's needed that seems wrong.
Quoted 6 lines · On Wed, 9 Nov 2011 22:59:34 +0000 Mark Brown…
Quoted 1 line · Alan Cox
Something like this I think
Yes, though...
Quoted 11 lines
sound/soc/codecs/sn95031.c line 42
Quoted 8 lines
sound/soc/codecs/sn95031.c +1
-1@@ -39,7 +39,7 @@#include <sound/initval.h> #include <sound/tlv.h> #include <sound/jack.h> -#include "../../../drivers/staging/intel_sst/intel_sst.h" +#include "../mid-x86/intel_sst.h" ..this can hopefully just be removed completely, if it's needed that seems wrong.
Thats for the SoC audio people to sort out. It means we can now blow away the staging stuff
Quoted 7 lines · Alan Cox
Quoted 2 lines · Mark Brown
..this can hopefully just be removed completely, if it's needed that seems wrong.
Thats for the SoC audio people to sort out. It means we can now blow away the staging stuff
That'd be me, then... Have you at least tried removing the header completely?
Quoted 11 lines · On Wed, 9 Nov 2011 23:03:29 +0000 Mark Brown…
Quoted 7 lines · Alan Cox
Quoted 2 lines · Mark Brown
..this can hopefully just be removed completely, if it's needed that seems wrong.
Thats for the SoC audio people to sort out. It means we can now blow away the staging stuff
That'd be me, then... Have you at least tried removing the header completely?
Yes - then it doesn't compile. The codec is calling functions defined in that header. I don't think you need much of it but both bits of that driver are using some of the stuff.
Quoted 3 lines · Alan Cox
Yes - then it doesn't compile. The codec is calling functions defined in that header. I don't think you need much of it but both bits of that driver are using some of the stuff.
Oh, actually the mainline CODEC driver doesn't have any such staging references in it at all. I don't know what tree you're patching against?
Quoted 9 lines · On Wed, 9 Nov 2011 23:11:24 +0000 Mark Brown…
Quoted 3 lines · Alan Cox
Yes - then it doesn't compile. The codec is calling functions defined in that header. I don't think you need much of it but both bits of that driver are using some of the stuff.
Oh, actually the mainline CODEC driver doesn't have any such staging references in it at all. I don't know what tree you're patching against?
Sorry I did the patches against the tree I had handy, that had some other SoC audio bits in it so ignore them.
Quoted 9 lines · Alan Cox
Quoted 6 lines · On Wed, 9 Nov 2011 23:11:24 +0000 Mark Brown…
Quoted 3 lines · Alan Cox
Yes - then it doesn't compile. The codec is calling functions defined in that header. I don't think you need much of it but both bits of that driver are using some of the stuff.
Quoted 6 lines
Quoted 3 lines
Oh, actually the mainline CODEC driver doesn't have any such staging references in it at all. I don't know what tree you're patching against?
Sorry I did the patches against the tree I had handy, that had some other SoC audio bits in it so ignore them.
The codec does not call any sst bits in upstream tree. Only platform driver has that dependency.
I plan to rework this interface this month and fix it much before 3.3 :)
If you guys agree we can live with non compiling driver for little while, otherwise we can use Alans fixes.
Thanks
Signature · 1 line
~Vinod
Quoted 4 lines
I plan to rework this interface this month and fix it much before 3.3 :)
If you guys agree we can live with non compiling driver for little while, otherwise we can use Alans fixes.
Greg - probably simplest to defer blowing away the staging driver until 3.3 window then - just kill spectra this time ?
Alan
Quoted 14 lines · Alan Cox
Moorestown/Oaktrail has appeared only in the PC like form so the following bits of staging can be binned
drivers/staging/spectra(not needed)
drivers/staging/intel_sstThis also appears on Medfield but there is an ASoC driver for the Medfield version and we no longer need to keep this. There were naughty bits of code peeking into staging for files but that should now be sorted (and if not they need to break and be forced to fix them)
Quoted 4 lines
I can send patches but they are enormous and rather boring...
I will be sending patches for other bits like the battery manager which in actual product is always ACPI handled.
Ok, I've deleted the spectra driver for the 3.3 merge window, if you still want me to delete the intel_sst driver, please let me know (based on the email thread, I got the impression you didn't want me to.)
thanks,
greg k-h