mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
227b7c9067
em28xx_urb_data_copy() actually consists of two parts: USB urb processing (checks, data extraction) and frame data packet processing. Move the latter to a separate function and call it from em28xx_urb_data_copy() for each data packet. The em25xx, em2760, em2765 (and likely em277x) chip variants are using a different frame data format, for which support will be added later with another function. This reduces the size of em28xx_urb_data_copy() and makes the code much more readable. While we're at it, clean up the code a bit (rename some variables to something more meaningful, improve some comments etc.) Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
em28xx-audio.c | ||
em28xx-cards.c | ||
em28xx-core.c | ||
em28xx-dvb.c | ||
em28xx-i2c.c | ||
em28xx-input.c | ||
em28xx-reg.h | ||
em28xx-vbi.c | ||
em28xx-video.c | ||
em28xx.h | ||
Kconfig | ||
Makefile |