• Johan Hovold's avatar
    ALSA: us122l: clean up US144 handling · 5c7e7d58
    Johan Hovold authored
    Use the device-id table and a private flag to determine the device type
    (US122 or US144) rather than spreading product-id conditionals
    throughout the driver.
    
    This USB driver currently depends on X86 (why?), but we should still add
    the missing endianness conversions when accessing the USB
    device-descriptor fields.
    
    Compile-tested only.
    Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    5c7e7d58
us122l.h 559 Bytes