[alsa-devel] [PATCH 4/4] ASoC: OMAP4: McPDM: Convert to hwmod/omap_device
Péter Ujfalusi
peter.ujfalusi at ti.com
Wed Aug 3 09:58:13 CEST 2011
On Tuesday 02 August 2011 13:34:17 Ujfalusi, Peter wrote:
> In order to probe, and operate correctly, the OMAP McPDM driver needs to
> be converted to use hwmod.
> The device name has been changed to probe the driver.
> Replace the clk_* with pm_runtime_* calls to manage the clocks correctly.
> Missing request_mem_region/release_mem_region added.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
> ---
> sound/soc/omap/mcpdm.c | 38 +++++++++++++++++++++-----------------
> sound/soc/omap/mcpdm.h | 1 -
> sound/soc/omap/omap-mcpdm.c | 2 +-
> sound/soc/omap/sdp4430.c | 2 +-
> 4 files changed, 23 insertions(+), 20 deletions(-)
>
> diff --git a/sound/soc/omap/mcpdm.c b/sound/soc/omap/mcpdm.c
> index 928f037..d29cc98 100644
> --- a/sound/soc/omap/mcpdm.c
> +++ b/sound/soc/omap/mcpdm.c
> @@ -28,7 +28,7 @@
> #include <linux/slab.h>
> #include <linux/interrupt.h>
> #include <linux/err.h>
> -#include <linux/clk.h>
> +#include <linux/pm_runtime.h>
> #include <linux/delay.h>
> #include <linux/io.h>
> #include <linux/irq.h>
> @@ -322,11 +322,11 @@ static irqreturn_t omap_mcpdm_irq_handler(int irq,
> void *dev_id) return IRQ_HANDLED;
> }
>
> -int omap_mcpdm_request(void)
> + int omap_mcpdm_request(void)
Just noticed this one.
Going to resend, or Liam can you fix this up when you take the patches?
--
Péter
More information about the Alsa-devel
mailing list