diff options
author | roger nilsson <roger.xr.nilsson@stericsson.com> | 2011-04-20 10:46:34 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 15:15:09 +0200 |
commit | e18ee2fdd06619bddecfb652c7350e787eb749a4 (patch) | |
tree | b605e848ed462c4d5705d988ab61982ee570acba /drivers/misc | |
parent | 1a6d0b4d2895bcdc5f84f148b497efc4a196bee2 (diff) |
Ux500: Audio: AB8500 v3.x was wrongly handled as v1.x.
ST-Ericsson ID: 334 414
Change-Id: Iff062500dc5e3e3940180834d10cf62c5dbda0c3
Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21199
Reviewed-by: QATEST
Reviewed-by: Johan BOHLIN <johan.bohlin@stericsson.com>
Tested-by: Johan BOHLIN <johan.bohlin@stericsson.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/audio_io_dev/ste_audio_io_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/audio_io_dev/ste_audio_io_core.c b/drivers/misc/audio_io_dev/ste_audio_io_core.c index 15d0273fc94..99ee93362a4 100644 --- a/drivers/misc/audio_io_dev/ste_audio_io_core.c +++ b/drivers/misc/audio_io_dev/ste_audio_io_core.c @@ -482,7 +482,7 @@ int ste_audio_io_core_api_powerup_audiocodec(int power_client) goto err_cleanup; } - if (AB8500_REV_20 == acodec_device_id) { + if (AB8500_REV_20 <= acodec_device_id) { clk_ptr_msp3 = clk_get_sys("msp3", NULL); if (!IS_ERR(clk_ptr_msp3)) { error = clk_enable(clk_ptr_msp3); @@ -558,7 +558,7 @@ int ste_audio_io_core_api_powerdown_audiocodec(int power_client) clk_put(clk_ptr_sysclk); clk_disable(clk_ptr_msp1); clk_put(clk_ptr_msp1); - if (AB8500_REV_20 == + if (AB8500_REV_20 <= abx500_get_chip_id(&ste_audio_io_device->dev)) { clk_disable(clk_ptr_msp3); clk_put(clk_ptr_msp3); |