diff options
| author | Aditya Pakki <[email protected]> | 2019-12-15 20:21:33 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-01-08 14:28:59 +0100 |
| commit | 1ec4c6efe23154b4ab44c1a34dbc0eb121eb614a (patch) | |
| tree | 237b4b082f45004df93692eea6a5718b20ab4f9f /tools/perf/scripts/python | |
| parent | 93a24578de721006055b422c7772e0e417e1983c (diff) | |
media: saa7146: Avoid using BUG_ON as an assertion
In video_begin and video_end, saa7146_format_by_fourcc can return
NULL and is checked via BUG_ON. However, by returning the error
to the callers upstream, we can avoid the crash and handle it via
recovery code.
Signed-off-by: Aditya Pakki <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions