diff mbox series

Add a quirk for Yamaha YIT-W12TX transmitter

Message ID 20231127221552.19087-1-belegdol+github@gmail.com (mailing list archive)
State New, archived
Headers show
Series Add a quirk for Yamaha YIT-W12TX transmitter | expand

Commit Message

Julian Sikorski Nov. 27, 2023, 10:15 p.m. UTC
The device fails to initialize otherwise, giving the following error:
[ 3676.671641] usb 2-1.1: 1:1: cannot get freq at ep 0x1

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>
---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Julian Sikorski Jan. 22, 2024, 1:58 p.m. UTC | #1
Am 27.11.23 um 23:15 schrieb Julian Sikorski:
> The device fails to initialize otherwise, giving the following error:
> [ 3676.671641] usb 2-1.1: 1:1: cannot get freq at ep 0x1
> 
> Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>
> ---
>   sound/usb/quirks.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
> index ab2b938502eb..bf0a7cca90d0 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -2031,6 +2031,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
>   		   QUIRK_FLAG_CTL_MSG_DELAY_1M | QUIRK_FLAG_IGNORE_CTL_ERROR),
>   	DEVICE_FLG(0x0499, 0x1509, /* Steinberg UR22 */
>   		   QUIRK_FLAG_GENERIC_IMPLICIT_FB),
> +	DEVICE_FLG(0x0499, 0x3108, /* Yamaha YIT-W12TX */
> +		   QUIRK_FLAG_GET_SAMPLE_RATE),
>   	DEVICE_FLG(0x04d8, 0xfeea, /* Benchmark DAC1 Pre */
>   		   QUIRK_FLAG_GET_SAMPLE_RATE),
>   	DEVICE_FLG(0x04e8, 0xa051, /* Samsung USBC Headset (AKG) */



Hi all,

is there something missing? It does not look like this got merged.

Best regards,
Julian
Takashi Iwai Jan. 23, 2024, 7:45 a.m. UTC | #2
On Mon, 22 Jan 2024 14:58:14 +0100,
Julian Sikorski wrote:
> 
> Am 27.11.23 um 23:15 schrieb Julian Sikorski:
> > The device fails to initialize otherwise, giving the following error:
> > [ 3676.671641] usb 2-1.1: 1:1: cannot get freq at ep 0x1
> > 
> > Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>
> > ---
> >   sound/usb/quirks.c | 2 ++
> >   1 file changed, 2 insertions(+)
> > 
> > diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
> > index ab2b938502eb..bf0a7cca90d0 100644
> > --- a/sound/usb/quirks.c
> > +++ b/sound/usb/quirks.c
> > @@ -2031,6 +2031,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
> >   		   QUIRK_FLAG_CTL_MSG_DELAY_1M | QUIRK_FLAG_IGNORE_CTL_ERROR),
> >   	DEVICE_FLG(0x0499, 0x1509, /* Steinberg UR22 */
> >   		   QUIRK_FLAG_GENERIC_IMPLICIT_FB),
> > +	DEVICE_FLG(0x0499, 0x3108, /* Yamaha YIT-W12TX */
> > +		   QUIRK_FLAG_GET_SAMPLE_RATE),
> >   	DEVICE_FLG(0x04d8, 0xfeea, /* Benchmark DAC1 Pre */
> >   		   QUIRK_FLAG_GET_SAMPLE_RATE),
> >   	DEVICE_FLG(0x04e8, 0xa051, /* Samsung USBC Headset (AKG) */
> 
> 
> 
> Hi all,
> 
> is there something missing? It does not look like this got merged.

I seem to have overlooked or it didn't reach to me properly.
Care to resubmit?  Don't forget to put subsystem maintainers to Cc.


thanks,

Takashi
diff mbox series

Patch

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index ab2b938502eb..bf0a7cca90d0 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2031,6 +2031,8 @@  static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_CTL_MSG_DELAY_1M | QUIRK_FLAG_IGNORE_CTL_ERROR),
 	DEVICE_FLG(0x0499, 0x1509, /* Steinberg UR22 */
 		   QUIRK_FLAG_GENERIC_IMPLICIT_FB),
+	DEVICE_FLG(0x0499, 0x3108, /* Yamaha YIT-W12TX */
+		   QUIRK_FLAG_GET_SAMPLE_RATE),
 	DEVICE_FLG(0x04d8, 0xfeea, /* Benchmark DAC1 Pre */
 		   QUIRK_FLAG_GET_SAMPLE_RATE),
 	DEVICE_FLG(0x04e8, 0xa051, /* Samsung USBC Headset (AKG) */