Skip to content

Commit

Permalink
V4L/DVB: cx25821: fix coding style issues in cx25821-alsa.c
Browse files Browse the repository at this point in the history
This is a patch to cx25821-alsa.c file that fixes of most of the
warning & errors found by checkpatch.pl tool

[mchehab@redhat.com: Fix conflicts with changeset 4e0c923a0d23f86c7331b32bc2aeb280e10e029e]
Signed-off-by: sai gopal <tsg321@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
sai gopal authored and Mauro Carvalho Chehab committed May 19, 2010
1 parent 205161e commit 629dcf2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/cx25821/cx25821-alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,8 @@ static int cx25821_audio_initdev(struct cx25821_dev *dev)
goto error;
}

if ((err == snd_cx25821_pcm(chip, 0, "cx25821 Digital")) < 0) {
err = snd_cx25821_pcm(chip, 0, "cx25821 Digital");
if (err < 0) {
printk(KERN_INFO
"DEBUG ERROR: cannot create snd_cx25821_pcm %s\n",
__func__);
Expand Down

0 comments on commit 629dcf2

Please sign in to comment.