]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
staging: mt7621-mmc: Fix unmatched release_mem_regin
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Wed, 4 Apr 2018 20:15:35 +0000 (22:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 13:34:03 +0000 (15:34 +0200)
commitd6e9e06861bdd9c57d539578bb7bd2cdd929e638
treec8135e5a527ffe9f5e4ee99152b0f750e86560c8
parentfb922724b03e15e0ca5638b524b5e2fc2c017f15
staging: mt7621-mmc: Fix unmatched release_mem_regin

Current code calls release_mem_regin on driver remove without
requesting it explicit first. The region is only requested via
devm_ioremap_resource and that releases it automatically. Removing the
release_mem_region calls fixes this.

Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/sd.c