Axel Lin
3271a4fc7d
ASoC: cs42l52: Catch no-match case in cs42l52_get_clk
...
In the case of no-match, return -EINVAL instead of 0.
Since we assign i to ret in the for loop, ret always less than
ARRAY_SIZE(clk_map_table). Thus remove the boundary checking for ret.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-12-24 16:02:19 +00:00
..
2012-12-10 00:31:03 +09:00
2012-12-10 00:31:06 +09:00
2012-12-10 00:29:39 +09:00
2012-12-10 00:31:09 +09:00
2012-12-24 16:02:19 +00:00
2012-12-07 14:47:10 +09:00
2012-07-04 19:15:43 +01:00
2012-12-13 11:51:23 -08:00
2012-04-13 11:29:25 +01:00
2012-12-10 00:31:12 +09:00
2012-12-10 00:31:24 +09:00
2012-12-10 00:31:14 +09:00
2012-12-10 00:31:26 +09:00
2012-12-10 00:31:28 +09:00
2012-12-13 11:51:23 -08:00
2012-12-10 00:30:34 +09:00
2012-12-10 00:31:34 +09:00
2012-12-10 00:30:19 +09:00
2012-12-10 00:31:36 +09:00
2012-12-10 00:31:38 +09:00
2012-12-13 11:51:23 -08:00
2012-12-10 00:31:43 +09:00
2012-12-13 11:51:23 -08:00
2012-08-28 10:24:21 -07:00
2012-10-09 15:57:33 +09:00
2012-11-21 11:39:51 +09:00
2012-12-15 23:45:09 +09:00
2012-12-15 23:56:45 +09:00
2012-11-21 11:39:48 +09:00
2012-11-23 23:42:54 +09:00
2012-06-23 12:11:32 +01:00
2012-12-10 00:22:14 +09:00
2012-12-15 23:56:43 +09:00
2012-12-10 00:31:48 +09:00