From 93a7ad0649c1110e2a7d0d78ddb4ca09f125b8e0 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sun, 19 Aug 2012 09:02:56 +0200 Subject: [PATCH] --- yaml --- r: 321917 b: refs/heads/master c: 4d8ce1c9966663bad69e738952179f3cc52710bf h: refs/heads/master i: 321915: 59ca5a072aee427f08b38ad2c4e798e689f0115a v: v3 --- [refs] | 2 +- trunk/sound/pci/ctxfi/ctatc.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 035eb45ca669..870c209ffc91 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0c23e46eb4878422c25351ff54ab0fe80c643809 +refs/heads/master: 4d8ce1c9966663bad69e738952179f3cc52710bf diff --git a/trunk/sound/pci/ctxfi/ctatc.c b/trunk/sound/pci/ctxfi/ctatc.c index 8e40262d4117..2f6e9c762d3f 100644 --- a/trunk/sound/pci/ctxfi/ctatc.c +++ b/trunk/sound/pci/ctxfi/ctatc.c @@ -1725,8 +1725,10 @@ int __devinit ct_atc_create(struct snd_card *card, struct pci_dev *pci, atc_connect_resources(atc); atc->timer = ct_timer_new(atc); - if (!atc->timer) + if (!atc->timer) { + err = -ENOMEM; goto error1; + } err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, atc, &ops); if (err < 0)