kirkwood-i2s.c (2e71ff5e8a9e80d6be9a9a2c3c930b9114325291) kirkwood-i2s.c (99d8d3ba512810feb13e158042975dcda75cef31)
1/*
2 * kirkwood-i2s.c
3 *
4 * (c) 2010 Arnaud Patard <apatard@mandriva.com>
5 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the

--- 554 unchanged lines hidden (view full) ---

563 return -EPROBE_DEFER;
564 } else {
565 if (priv->extclk == priv->clk) {
566 devm_clk_put(&pdev->dev, priv->extclk);
567 priv->extclk = ERR_PTR(-EINVAL);
568 } else {
569 dev_info(&pdev->dev, "found external clock\n");
570 clk_prepare_enable(priv->extclk);
1/*
2 * kirkwood-i2s.c
3 *
4 * (c) 2010 Arnaud Patard <apatard@mandriva.com>
5 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the

--- 554 unchanged lines hidden (view full) ---

563 return -EPROBE_DEFER;
564 } else {
565 if (priv->extclk == priv->clk) {
566 devm_clk_put(&pdev->dev, priv->extclk);
567 priv->extclk = ERR_PTR(-EINVAL);
568 } else {
569 dev_info(&pdev->dev, "found external clock\n");
570 clk_prepare_enable(priv->extclk);
571 soc_dai = &kirkwood_i2s_dai_extclk;
571 soc_dai = kirkwood_i2s_dai_extclk;
572 }
573 }
574
575 /* Some sensible defaults - this reflects the powerup values */
576 priv->ctl_play = KIRKWOOD_PLAYCTL_SIZE_24;
577 priv->ctl_rec = KIRKWOOD_RECCTL_SIZE_24;
578
579 /* Select the burst size */

--- 74 unchanged lines hidden ---
572 }
573 }
574
575 /* Some sensible defaults - this reflects the powerup values */
576 priv->ctl_play = KIRKWOOD_PLAYCTL_SIZE_24;
577 priv->ctl_rec = KIRKWOOD_RECCTL_SIZE_24;
578
579 /* Select the burst size */

--- 74 unchanged lines hidden ---