aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-streamer.c
diff options
context:
space:
mode:
authorSouptick Joarder <[email protected]>2019-02-04 15:01:43 +0000
committerMauro Carvalho Chehab <[email protected]>2019-03-19 18:03:55 +0000
commitf14f6aa0b4423632ab76f3eed3a28159049451ef (patch)
tree8a525fce169c513bc2374bb5fffd87fd6e2c3f04 /drivers/media/platform/vimc/vimc-streamer.c
parentmedia: gspca: do not resubmit URBs when streaming has stopped (diff)
downloadkernel-f14f6aa0b4423632ab76f3eed3a28159049451ef.tar.gz
kernel-f14f6aa0b4423632ab76f3eed3a28159049451ef.zip
media: videobuf2: Return error after allocation failure
There is no point to continuing assignment after memory allocation failed, rather throw error immediately. Signed-off-by: Souptick Joarder <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> [[email protected]: rebase and remove empty line before the if] Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-streamer.c')
0 files changed, 0 insertions, 0 deletions