diff options
| author | Malcolm Priestley <tvboxspy@gmail.com> | 2018-11-26 15:18:25 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-12-03 13:23:24 -0500 |
| commit | 255095fa7f62ff09b6f61393414535c59c6b4cb0 (patch) | |
| tree | cfb297bd6ccbd742c394302a6e290dd628c0029b /tools/perf/scripts/python | |
| parent | 2ad18d1d785fdc46b9b778c20c64a48c33b7c0ba (diff) | |
| download | linux-255095fa7f62ff09b6f61393414535c59c6b4cb0.tar.gz linux-255095fa7f62ff09b6f61393414535c59c6b4cb0.zip | |
media: dvb-usb-v2: Fix incorrect use of transfer_flags URB_FREE_BUFFER
commit 1a0c10ed7bb1 ("media: dvb-usb-v2: stop using coherent memory for
URBs") incorrectly adds URB_FREE_BUFFER after every urb transfer.
It cannot use this flag because it reconfigures the URBs accordingly
to suit connected devices. In doing a call to usb_free_urb is made and
invertedly frees the buffers.
The stream buffer should remain constant while driver is up.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
CC: stable@vger.kernel.org # v4.18+
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
