Re: [PATCH v4 3/6] usb: musb: cppi_dma: Clean up cppi structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 23, 2017 at 05:48:05PM +0100, Alexandre Bailon wrote:
> A pointer to musb is now present in the dma_controller structure.
> Remove the one present in cppi structure.
> 
> Signed-off-by: Alexandre Bailon <abailon@xxxxxxxxxxxx>
> ---
>  drivers/usb/musb/cppi_dma.c | 26 +++++++++++++-------------
>  drivers/usb/musb/cppi_dma.h |  1 -
>  2 files changed, 13 insertions(+), 14 deletions(-)
> 
> diff --git a/drivers/usb/musb/cppi_dma.c b/drivers/usb/musb/cppi_dma.c
> index 1ae48e6..d82d166 100644
> --- a/drivers/usb/musb/cppi_dma.c
> +++ b/drivers/usb/musb/cppi_dma.c
> @@ -224,7 +224,7 @@ static void cppi_controller_stop(struct cppi *controller)
>  	int			i;
>  	struct musb		*musb;
>  
> -	musb = controller->musb;
> +	musb = controller->controller.musb;
>  
>  	tibase = controller->tibase;
>  	/* DISABLE INDIVIDUAL CHANNEL Interrupts */
> @@ -288,7 +288,7 @@ cppi_channel_allocate(struct dma_controller *c,
>  
>  	controller = container_of(c, struct cppi, controller);
>  	tibase = controller->tibase;
> -	musb = controller->musb;
> +	musb = controller->controller.musb;

	musb = c->musb;

Regards,
-Bin.

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux