ALSA: usb-audio: Add quirk flag for HEM devices to enable native DSD playback
authorLukasz Tyl <ltyl@hem-e.com>
Wed, 14 Jun 2023 12:25:24 +0000 (14:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jun 2023 14:00:55 +0000 (16:00 +0200)
commit1886db9a4ee1fe3d716647ad10fb9fb647df7673
tree2b8fc452ecb0a807d26f3ed226b90ff6f4e24c9a
parent029e0f1f752165b620fc5d28589523e6b0d6d36d
ALSA: usb-audio: Add quirk flag for HEM devices to enable native DSD playback

commit 122e2cb7e1a30438cc0e8bf70d4279db245d7d5b upstream.

This commit adds new DEVICE_FLG with QUIRK_FLAG_DSD_RAW and Vendor Id for
HEM devices which supports native DSD. Prior to this change Linux kernel
was not enabling native DSD playback for HEM devices, and as a result,
DSD audio was being converted to PCM "on the fly". HEM devices,
when connected to the system, would only play audio in PCM format,
even if the source material was in DSD format. With the addition of new
VENDOR_FLG in the quircks.c file, the devices are now correctly
recognized, and raw DSD data is transmitted to the device,
allowing for native DSD playback.

Signed-off-by: Lukasz Tyl <ltyl@hem-e.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230614122524.30271-1-ltyl@hem-e.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/quirks.c