V4L/DVB (9299): cx18: Don't mask many real init error codes by mapping them to ENOMEM
authorAndy Walls <awalls@radix.net>
Sat, 18 Oct 2008 13:20:25 +0000 (10:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 Oct 2008 16:20:47 +0000 (14:20 -0200)
commit9b4a7c8a83899ef7742f63c0e9a8a28cbff2c29a
tree46c9bb40a4734d5a0a4769c8e4b6599ec40c84d6
parent06869713de3e6380b2f24d9eac30426b4e471375
V4L/DVB (9299): cx18: Don't mask many real init error codes by mapping them to ENOMEM

Changes to let error return codes bubble up to the user visible
error message on card initialization.  A number of them were being remapped to
ENOMEM when no memory or array resource shortage existed.  That hampered
diagnosis of user trouble reports.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-driver.c
drivers/media/video/cx18/cx18-streams.c