Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=236c4920ea825acbffa7bbba24c182ec6a9a8245 Commit: 236c4920ea825acbffa7bbba24c182ec6a9a8245 Parent: 4806ef0cf481a4e41f5046aaf1032a7601049ab6 Author: Clemens Ladisch <[EMAIL PROTECTED]> AuthorDate: Mon Jan 28 08:32:58 2008 +0100 Committer: Jaroslav Kysela <[EMAIL PROTECTED]> CommitDate: Thu Jan 31 17:30:16 2008 +0100
[ALSA] oxygen: fix AK4396 double rate upper limit Fix the upper sample rate limit for the double rate mode of the AK4396 to the value from the datasheet. Signed-off-by: Clemens Ladisch <[EMAIL PROTECTED]> Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]> --- sound/pci/oxygen/hifier.c | 2 +- sound/pci/oxygen/oxygen.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/pci/oxygen/hifier.c b/sound/pci/oxygen/hifier.c index 05ea2b6..51c4d1a 100644 --- a/sound/pci/oxygen/hifier.c +++ b/sound/pci/oxygen/hifier.c @@ -90,7 +90,7 @@ static void set_ak4396_params(struct oxygen *chip, value = data->ak4396_ctl2 & ~AK4396_DFS_MASK; if (params_rate(params) <= 54000) value |= AK4396_DFS_NORMAL; - else if (params_rate(params) < 120000) + else if (params_rate(params) <= 108000) value |= AK4396_DFS_DOUBLE; else value |= AK4396_DFS_QUAD; diff --git a/sound/pci/oxygen/oxygen.c b/sound/pci/oxygen/oxygen.c index a0457a5..840e4a6 100644 --- a/sound/pci/oxygen/oxygen.c +++ b/sound/pci/oxygen/oxygen.c @@ -206,7 +206,7 @@ static void set_ak4396_params(struct oxygen *chip, value = data->ak4396_ctl2 & ~AK4396_DFS_MASK; if (params_rate(params) <= 54000) value |= AK4396_DFS_NORMAL; - else if (params_rate(params) < 120000) + else if (params_rate(params) <= 108000) value |= AK4396_DFS_DOUBLE; else value |= AK4396_DFS_QUAD; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html