On Mon, 18 Dec 2017 14:44:44 +0100, Greg KH wrote:
On Sun, Dec 17, 2017 at 06:56:05PM +0000, Mauro Santos wrote:
I believe this is the right place to report this problem, but if it isn't please point me in the right direction.
Adding the developer of that patch, and the sound maintainer and developers to the thread.
I have noticed that after the update from kernel 4.14.5 to 4.14.6 alsamixer does not show the usual volume controls for my usb soundcard.
Reverting 3884d12e17ab770aa0f5d4bc65bfbfd006f417fa ALSA: usb-audio: Add check return value for usb_string() (from linux-stable) makes the controls come back again with kernel 4.14.6.
(snip)
This is odd, Takashi, I thought we fixed up the problem that if the string was invalid, the code would continue to go on, it's not a "real" error. Did that not get marked for the stable trees?
Yes, it was marked as stable, and it's odd that the revert of the given commit changes the behavior in that way.
Mauro, could you double-check whether reverting the commit really does fix it as expected? If yes, could you put some debug print at the part the patch touches, and check which unit id gives len=0 from snd_usb_copy_string_desc()?
thanks,
Takashi