This driver does not handle allocation failure when receiving data very well. This patchset implements better handling in the case of allocation failure. Nam Cao (5): staging: vt6655: remove redundant if condition staging: vt6655: change vnt_receive_frame return type to void staging: vt6655: split device_alloc_rx_buf staging: vt6655: change device_alloc_rx_buf's argument staging: vt6655: implement allocation failure handling drivers/staging/vt6655/device_main.c | 41 ++++++++++++++++++---------- drivers/staging/vt6655/dpc.c | 8 +++--- drivers/staging/vt6655/dpc.h | 2 +- 3 files changed, 31 insertions(+), 20 deletions(-) -- 2.25.1