summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-07-20 19:22:42 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 16:42:59 -0300
commitfebe2ea10e041c014b295a0321f7ec62c05b7e3f (patch)
treefc628ab949ff4d27d1a149fcab8c22b4f69e1701 /drivers/media/dvb
parent37b58bfe4bb3df303aa9d7f1ccdbfc477b42c5e2 (diff)
downloadblackbird-obmc-linux-febe2ea10e041c014b295a0321f7ec62c05b7e3f.tar.gz
blackbird-obmc-linux-febe2ea10e041c014b295a0321f7ec62c05b7e3f.zip
V4L/DVB: "dib3000mc: reduce large stack usage" fix
s/ENODEV/ENOMEM, per Andreas. This fix got lost when someone merged "dib3000mc: reduce large stack usage". Please don't lose fixes. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/frontends/dib3000mc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dib3000mc.c b/drivers/media/dvb/frontends/dib3000mc.c
index afad252abf41..088e7fadbe3d 100644
--- a/drivers/media/dvb/frontends/dib3000mc.c
+++ b/drivers/media/dvb/frontends/dib3000mc.c
@@ -822,7 +822,7 @@ int dib3000mc_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 defa
dmcst = kzalloc(sizeof(struct dib3000mc_state), GFP_KERNEL);
if (dmcst == NULL)
- return -ENODEV;
+ return -ENOMEM;
dmcst->i2c_adap = i2c;
OpenPOWER on IntegriCloud