OSDN Git Service

[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)
commiteddd3263208e3e4f80665bbec9d16f02c98986e8
tree80c88780f9de26f9742250368f0d40bce28fbd79
parentc79a23f33dc1868a90ca6cb0bee0228c751bb7ea
[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