From: Shubhrajyoti D <shubhrajy...@ti.com> At remove the free variable is wrongly updated.Attempting to solve the same.
Signed-off-by: Shubhrajyoti D <shubhrajy...@ti.com> Signed-off-by: Kishon Vijay Abraham I <kis...@ti.com> Reported-by: Vikram Pandita <vikram.pand...@ti.com> --- arch/arm/plat-omap/mcbsp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index eac4b97..6802ed1 100644 --- a/arch/arm/plat-omap/mcbsp.c +++ b/arch/arm/plat-omap/mcbsp.c @@ -1845,7 +1845,7 @@ static int __devexit omap_mcbsp_remove(struct platform_device *pdev) mcbsp->fclk = NULL; mcbsp->iclk = NULL; - mcbsp->free = 0; + mcbsp->free = 1; mcbsp->dev = NULL; } -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html