summaryrefslogtreecommitdiffstats
path: root/sound/spi
diff options
context:
space:
mode:
authorVikram Pandita <vikram.pandita@ti.com>2010-09-16 18:19:24 +0530
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2010-09-24 11:30:17 +0530
commit2a27753fdc2ab046c754e3e203953dd0d4c1611b (patch)
treef93cf6e41e70b897c63ef9848266658da1eef0a6 /sound/spi
parentb30a3f6257ed2105259b404d419b4964e363928c (diff)
downloadlinux-2a27753fdc2ab046c754e3e203953dd0d4c1611b.tar.bz2
omap: sram: fix is_sram_locked check
For OMAP24xx/34xx/44xx: omap_type() returns the correct type: OMAP2_DEVICE_TYPE_TEST OMAP2_DEVICE_TYPE_EMU OMAP2_DEVICE_TYPE_SEC OMAP2_DEVICE_TYPE_GP OMAP2_DEVICE_TYPE_BAD In current implementation there are two problems: Problem 1: For 34xx, the current if check will never return true. Problem 2: For 24xx the correct type check should be with omap_type() function Verified by checking the TRM 24xx for CONTROL_STATUS register bits Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'sound/spi')
0 files changed, 0 insertions, 0 deletions