Message ID | 20200807083548.204360-5-dwlsalmeida@gmail.com |
---|---|
State | Accepted |
Commit | 52cdded09b861182bb5033bf9d308cb6fcd4d49f |
Headers | show |
Series | [01/20] media: sunxi: sun8i-rotate.c: remove useless error message | expand |
diff --git a/drivers/media/pci/cobalt/cobalt-omnitek.c b/drivers/media/pci/cobalt/cobalt-omnitek.c index 4c137453e679..01b82a2e8d33 100644 --- a/drivers/media/pci/cobalt/cobalt-omnitek.c +++ b/drivers/media/pci/cobalt/cobalt-omnitek.c @@ -116,7 +116,7 @@ void omni_sg_dma_abort_channel(struct cobalt_stream *s) { struct cobalt *cobalt = s->cobalt; - if (is_dma_done(s) == false) + if (!is_dma_done(s)) iowrite32(ABORT, CS_REG(s->dma_channel)); }