summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-s3c.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-07-17 11:47:14 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2012-07-17 11:47:14 +0200
commitf9a4f063a88297e361fd6676986cf3e39b22de72 (patch)
tree50067d8fc72cc677db62de68da013039734a0c6c /drivers/mmc/host/sdhci-s3c.c
parent9e971a03af736acc6f96c200c2626d3bcb3d6927 (diff)
downloadop-kernel-dev-f9a4f063a88297e361fd6676986cf3e39b22de72.zip
op-kernel-dev-f9a4f063a88297e361fd6676986cf3e39b22de72.tar.gz
iommu/tegra: Don't call alloc_pdir with as->lock
Instead of taking as->lock before calling alloc_pdir() and releasing it in that function to allocate memory, just take the lock only in the alloc_pdir function and run the loop without any lock held. This simplifies the complicated lock->unlock->alloc->lock->unlock sequence into alloc->lock->unlock. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/mmc/host/sdhci-s3c.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud