]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx88: return proper errors during fw load
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 29 Aug 2014 08:29:19 +0000 (05:29 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 3 Nov 2014 10:27:36 +0000 (08:27 -0200)
commitec1ab5e6497f4ef43343d76824c390b66f27e9ec
tree80c88780f9de26f9742250368f0d40bce28fbd79
parentb1acad1d273da7e3425935b20491d52676cde26c
[media] cx88: return proper errors during fw load

Don't return -1, return a proper error.

Replace dprintk(0, ...) by pr_err since firmware load errors should just be
reported as an error.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx88/cx88-blackbird.c