Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge remote-tracking branches 'asoc/topic/wm8996', 'asoc/topic/xtensa' and 'asoc/topic/zx296702' into asoc-next

+6 -14
+2 -4
sound/soc/codecs/wm8996.c
··· 2647 2647 if (irq_flags & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) 2648 2648 ret = request_threaded_irq(i2c->irq, NULL, 2649 2649 wm8996_edge_irq, 2650 - irq_flags | IRQF_ONESHOT, 2651 - "wm8996", codec); 2650 + irq_flags, "wm8996", codec); 2652 2651 else 2653 2652 ret = request_threaded_irq(i2c->irq, NULL, wm8996_irq, 2654 - irq_flags | IRQF_ONESHOT, 2655 - "wm8996", codec); 2653 + irq_flags, "wm8996", codec); 2656 2654 2657 2655 if (ret == 0) { 2658 2656 /* Unmask the interrupt */
+1 -7
sound/soc/xtensa/xtfpga-i2s.c
··· 75 75 * stream in the pcm_close callback it synchronizes with the interrupt 76 76 * handler by means of synchronize_rcu call. 77 77 */ 78 - struct snd_pcm_substream *tx_substream; 78 + struct snd_pcm_substream __rcu *tx_substream; 79 79 unsigned (*tx_fn)(struct xtfpga_i2s *i2s, 80 80 struct snd_pcm_runtime *runtime, 81 81 unsigned tx_ptr); ··· 474 474 card->dev, size, size); 475 475 } 476 476 477 - static void xtfpga_pcm_free(struct snd_pcm *pcm) 478 - { 479 - snd_pcm_lib_preallocate_free_for_all(pcm); 480 - } 481 - 482 477 static const struct snd_pcm_ops xtfpga_pcm_ops = { 483 478 .open = xtfpga_pcm_open, 484 479 .close = xtfpga_pcm_close, ··· 485 490 486 491 static const struct snd_soc_platform_driver xtfpga_soc_platform = { 487 492 .pcm_new = xtfpga_pcm_new, 488 - .pcm_free = xtfpga_pcm_free, 489 493 .ops = &xtfpga_pcm_ops, 490 494 }; 491 495
+3 -3
sound/soc/zte/zx296702-i2s.c
··· 380 380 struct zx_i2s_info *zx_i2s; 381 381 int ret; 382 382 383 - zx_i2s = kzalloc(sizeof(*zx_i2s), GFP_KERNEL); 383 + zx_i2s = devm_kzalloc(&pdev->dev, sizeof(*zx_i2s), GFP_KERNEL); 384 384 if (!zx_i2s) 385 385 return -ENOMEM; 386 386 ··· 401 401 writel_relaxed(0, zx_i2s->reg_base + ZX_I2S_FIFO_CTRL); 402 402 platform_set_drvdata(pdev, zx_i2s); 403 403 404 - ret = snd_soc_register_component(&pdev->dev, &zx_i2s_component, 405 - &zx_i2s_dai, 1); 404 + ret = devm_snd_soc_register_component(&pdev->dev, &zx_i2s_component, 405 + &zx_i2s_dai, 1); 406 406 if (ret) { 407 407 dev_err(&pdev->dev, "Register DAI failed: %d\n", ret); 408 408 return ret;