diff mbox series

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

Message ID 64d6f88a8f978fa6fa090e9c81ed2a834bf21308.1723518816.git.soyjuanarbol@gmail.com (mailing list archive)
State New, archived
Headers show
Series ALSA: usb-audio: Support Yamaha P-125 and cleanup | expand

Commit Message

Juan José Arboleda Aug. 13, 2024, 3:31 a.m. UTC
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(+)

Comments

Takashi Iwai Aug. 13, 2024, 6:44 a.m. UTC | #1
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
diff mbox series

Patch

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),