~ubuntu-audio-dev/alsa-driver/tiwai-trunk2

« back to all changes in this revision

Viewing changes to soc/codecs/wm5110.c

  • Committer: Canonistack server
  • Date: 2016-05-16 13:04:41 UTC
  • Revision ID: david.henningsson@canonical.com-20160516130441-xmcvo5v7n0mupdei
Test run of 623 machines: 3 failing with 3 errors and 0 warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2437
2437
 
2438
2438
static int wm5110_remove(struct platform_device *pdev)
2439
2439
{
 
2440
        struct wm5110_priv *wm5110 = platform_get_drvdata(pdev);
 
2441
        int i;
 
2442
 
2440
2443
        snd_soc_unregister_platform(&pdev->dev);
2441
2444
        snd_soc_unregister_codec(&pdev->dev);
2442
2445
        pm_runtime_disable(&pdev->dev);
2443
2446
 
 
2447
        for (i = 0; i < WM5110_NUM_ADSP; i++)
 
2448
                wm_adsp2_remove(&wm5110->core.adsp[i]);
 
2449
 
2444
2450
        return 0;
2445
2451
}
2446
2452