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: Johan Hovold <johan@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| us122l.c | ||
| us122l.h | ||
| usX2Yhwdep.c | ||
| usX2Yhwdep.h | ||
| usb_stream.c | ||
| usb_stream.h | ||
| usbus428ctldefs.h | ||
| usbusx2y.c | ||
| usbusx2y.h | ||
| usbusx2yaudio.c | ||
| usx2y.h | ||
| usx2yhwdeppcm.c | ||
| usx2yhwdeppcm.h | ||