diff options
author | roger nilsson <roger.xr.nilsson@stericsson.com> | 2011-04-20 10:46:34 +0200 |
---|---|---|
committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-04-20 14:28:53 +0200 |
commit | 51337be8e1f6b9e5369bb0733aa46c2cd8c7b32d (patch) | |
tree | a13935ef188d623d332ab1f42eca4bddf1f37f62 /drivers | |
parent | d3da2ce835e87a512d7e2dd7ef2b21c4831276ac (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')
-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 094c17926e9..f0f261815de 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); |