static void lx_trigger_stop(struct lx6464es *chip, struct lx_stream *lx_stream) { const unsigned int is_capture = lx_stream->is_capture; int err; dev_dbg(chip->card->dev, "stopping: stopping stream\n"); err = lx_stream_stop(chip, 0, is_capture); if (err < 0) dev_err(chip->card->dev, "couldn't stop stream\n"); else lx_stream->status = LX_STREAM_STATUS_FREE; }
static void lx_trigger_stop(struct lx6464es *chip, struct lx_stream *lx_stream) { const int is_capture = lx_stream->is_capture; int err; snd_printd(LXP "stopping: stopping stream\n"); err = lx_stream_stop(chip, 0, is_capture); if (err < 0) snd_printk(KERN_ERR LXP "couldn't stop stream\n"); else lx_stream->status = LX_STREAM_STATUS_FREE; }