[PATCH 1/2] ALSA: usb-audio: Support Yamaha P-125 quirk entry

Juan José Arboleda posted 2 patches 1 year, 4 months ago
[PATCH 1/2] ALSA: usb-audio: Support Yamaha P-125 quirk entry
Posted by Juan José Arboleda 1 year, 4 months ago
This patch adds a USB quirk for the Yamaha P-125 digital piano.

Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
---
 sound/usb/quirks-table.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index f13a8d63a019..24e6f68e2f1e 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -239,6 +239,7 @@ YAMAHA_DEVICE(0x1030, "PSR-295/293"),
 YAMAHA_DEVICE(0x1031, "DGX-205/203"),
 YAMAHA_DEVICE(0x1032, "DGX-305"),
 YAMAHA_DEVICE(0x1033, "DGX-505"),
+YAMAHA_DEVICE(0x1718, "P-125"),
 YAMAHA_DEVICE(0x1034, NULL),
 YAMAHA_DEVICE(0x1035, NULL),
 YAMAHA_DEVICE(0x1036, NULL),
-- 
2.46.0

Re: [PATCH 1/2] ALSA: usb-audio: Support Yamaha P-125 quirk entry
Posted by Takashi Iwai 1 year, 4 months ago
On Tue, 13 Aug 2024 05:31:27 +0200,
Juan José Arboleda wrote:
> 
> This patch adds a USB quirk for the Yamaha P-125 digital piano.
> 
> Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
> ---
>  sound/usb/quirks-table.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
> index f13a8d63a019..24e6f68e2f1e 100644
> --- a/sound/usb/quirks-table.h
> +++ b/sound/usb/quirks-table.h
> @@ -239,6 +239,7 @@ YAMAHA_DEVICE(0x1030, "PSR-295/293"),
>  YAMAHA_DEVICE(0x1031, "DGX-205/203"),
>  YAMAHA_DEVICE(0x1032, "DGX-305"),
>  YAMAHA_DEVICE(0x1033, "DGX-505"),
> +YAMAHA_DEVICE(0x1718, "P-125"),
>  YAMAHA_DEVICE(0x1034, NULL),
>  YAMAHA_DEVICE(0x1035, NULL),
>  YAMAHA_DEVICE(0x1036, NULL),

The entries for Yamaha are sorted in the device ID order.
Please try to put at the right place.


thanks,

Takashi