diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2019-02-07 17:28:19 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-02-07 17:29:21 +0000 |
| commit | 22f05d646df9fdb4f1ff19582f17d350665c2ea9 (patch) | |
| tree | 25b4858ebce75a236e4416d936406b83fed87404 /drivers/media/platform/vimc/vimc-core.c | |
| parent | media: vivid: add vertical down sampling to imagesize calc (diff) | |
| download | kernel-22f05d646df9fdb4f1ff19582f17d350665c2ea9.tar.gz kernel-22f05d646df9fdb4f1ff19582f17d350665c2ea9.zip | |
media: vim2m: don't use curr_ctx->dev before checking
It seems that it is possible that dev to be null, as there's
a warning printing:
"Instance released before the end of transaction"
Solves this warning:
drivers/media/platform/vim2m.c: drivers/media/platform/vim2m.c:525 device_work() warn: variable dereferenced before check 'curr_ctx' (see line 523)
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions
