From: Shubhrajyoti D <[email protected]>

At remove the free variable is wrongly updated.Attempting to solve the same.


Signed-off-by: Shubhrajyoti D <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Reported-by: Vikram Pandita <[email protected]>
---
 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to