Re: [PATCH 3/3] DMA: PL330: Balance module remove function withprobe

From: Vinod Koul
Date: Thu Sep 27 2012 - 05:54:01 EST


On Wed, 2012-09-26 at 12:11 +0530, Inderpal Singh wrote:
> If we fail pl330_remove while some client is queued, the force unload
> will fail and the
> force unload will lose its purpose.
> How about conditionally DMA_TERMINATE_ALL and free resources like
> below ?
Why would you want to remove the driver when it is doing something
useful? You have to ensure driver is not doing anything.

What is point here?

--
~Vinod

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/