lkml.org 
[lkml]   [2012]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 02/10] ASoC: wm8753: remove invalid free of devm_ allocated data
    Date
    Fixes following warning.
    sound/soc/codecs/wm8753.c:1594:1-6: WARNING: invalid free of devm_ allocated data

    Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
    ---
    sound/soc/codecs/wm8753.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
    index 2e4a775..9914215 100644
    --- a/sound/soc/codecs/wm8753.c
    +++ b/sound/soc/codecs/wm8753.c
    @@ -1591,7 +1591,6 @@ static int __devexit wm8753_spi_remove(struct spi_device *spi)

    snd_soc_unregister_codec(&spi->dev);
    regmap_exit(wm8753->regmap);
    - kfree(wm8753);
    return 0;
    }

    --
    1.7.4.1


    \
     
     \ /
      Last update: 2012-11-23 00:41    [W:4.463 / U:0.584 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site