summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-04-27 19:09:45 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 12:58:31 -0300
commit0b42760a75afb852be6718fb5e6b54988123b40e (patch)
tree4b41e8bc5d4e4b074d1edc966eef274254ce5ecb /drivers/media
parent30d81bb086c84d54cde4dd4d0c75d9455224632b (diff)
V4L/DVB: dib7000p: reduce large stack usage fix
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/dib7000p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/dib7000p.c b/drivers/media/dvb/frontends/dib7000p.c
index 113fc1394d5..2e28b973dfd 100644
--- a/drivers/media/dvb/frontends/dib7000p.c
+++ b/drivers/media/dvb/frontends/dib7000p.c
@@ -1330,7 +1330,7 @@ int dib7000p_i2c_enumeration(struct i2c_adapter *i2c, int no_of_demods, u8 defau
dpst = kzalloc(sizeof(struct dib7000p_state), GFP_KERNEL);
if (!dpst)
- return -ENODEV;
+ return -ENOMEM;
dpst->i2c_adap = i2c;