Merge branch 'sfi-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb...
[firefly-linux-kernel-4.4.55.git] / drivers / staging / line6 / playback.c
index 29940fd1671b5108d32906ed3d755fad2cddc207..10c54383658367ac4fc81eb2ddc6658a28e1da9d 100644 (file)
@@ -246,7 +246,7 @@ static int submit_audio_out_urb(struct snd_line6_pcm *line6pcm)
 
        change_volume(urb_out, line6pcm->volume_playback, bytes_per_frame);
 
-       if (line6pcm->prev_fbuf != 0) {
+       if (line6pcm->prev_fbuf != NULL) {
 #ifdef CONFIG_LINE6_USB_IMPULSE_RESPONSE
                if (line6pcm->flags & MASK_PCM_IMPULSE) {
                        create_impulse_test_signal(line6pcm, urb_out,