Wolfram Sang
c8f205258b
Input: wm97xx - refactor channel selection in poll_sample()
...
The current implementation of poll_sample() has the problem that one of
its arguments, the channel to be selected, differs from wm9713 to other
variants. This parameter gets passed to the (currently unused)
mach-specific functions pre_sample() and post_sample() which thus have
to deal with codec-specific differences. Refactor the routine so that
the argument to poll_sample() is generic for all codecs and do necessary
conversions only in the codec-specific driver. The outcome even uses
less code and removes the non-standard use of the PEN_DOWN bit to mark
the AUX-channels.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de >
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
Signed-off-by: Dmitry Torokhov <dtor@mail.ru >
2011-07-04 19:31:38 -07:00
..
2011-05-29 11:19:16 -07:00
2011-05-26 10:33:34 +01:00
2011-06-07 15:55:55 -04:00
2011-05-20 13:43:21 -07:00
2011-03-31 11:26:23 -03:00
2011-06-07 23:34:58 +02:00
2011-05-26 17:12:32 -07:00
2011-06-04 08:11:26 +09:00
2011-06-17 12:40:36 -04:00
2011-06-02 05:29:19 +09:00
2011-06-15 20:04:02 -07:00
2011-04-30 10:14:08 +01:00
2011-05-31 15:26:42 +09:00
2011-04-12 14:38:57 -07:00
2011-06-16 16:31:13 -04:00
2011-05-29 11:18:09 -07:00
2011-05-23 10:24:29 +02:00
2011-03-22 17:44:12 -07:00
2011-06-14 15:03:07 +09:00
2011-05-26 17:12:37 -07:00
2011-05-10 22:53:46 +02:00
2011-06-09 09:05:12 -04:00
2011-06-16 08:40:43 -06:00
2011-06-21 09:38:25 +10:00
2011-06-16 12:21:34 +02:00
2011-06-17 23:22:27 -07:00
2011-05-26 19:45:05 +02:00
2011-06-11 15:06:48 -07:00
2011-05-05 10:57:45 -07:00
2011-05-26 12:13:57 -07:00
2011-07-04 19:31:38 -07:00
2011-06-17 15:27:32 -04:00
2011-06-15 20:04:01 -07:00
2011-05-06 09:27:55 -07:00
2011-05-23 09:12:26 -07:00
2011-06-14 14:23:57 +10:00
2011-06-09 13:09:07 -07:00
2011-03-31 11:26:23 -03:00
2011-05-23 09:12:26 -07:00
2011-05-28 08:38:55 +02:00
2011-06-20 20:10:18 -07:00
2011-06-15 22:01:36 -07:00
2011-05-27 20:06:53 -07:00
2011-06-20 14:02:07 -07:00
2011-05-25 00:08:17 +01:00
2011-05-31 16:33:34 +02:00
2011-03-31 11:26:23 -03:00
2011-05-26 13:19:00 -07:00
2011-06-14 11:25:32 -07:00
2011-06-16 08:40:44 -06:00
2011-05-29 11:44:33 -07:00
2011-03-31 11:26:23 -03:00
2011-05-27 10:12:35 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-06-01 19:29:10 -07:00
2011-05-18 02:55:22 -07:00
2011-05-27 10:49:30 +01:00
2011-06-13 10:47:04 -07:00
2011-06-06 14:14:56 +02:00
2011-03-31 11:26:23 -03:00
2011-06-02 18:34:43 +09:00
2011-03-31 11:26:23 -03:00
2011-06-14 15:15:25 +09:00
2011-06-17 08:27:27 -06:00
2011-06-03 14:19:49 -04:00
2011-06-16 08:29:00 -07:00
2011-05-24 13:03:56 -04:00
2011-05-06 07:46:22 +02:00
2011-03-23 01:43:44 -04:00
2011-06-15 20:04:02 -07:00
2011-04-19 16:59:57 -07:00
2011-06-08 13:48:30 -07:00
2011-03-31 11:26:23 -03:00
2011-05-30 11:14:15 +09:30
2011-06-16 09:45:47 -07:00
2011-05-30 11:14:16 +09:30
2011-03-28 19:33:04 +02:00
2011-06-15 20:04:00 -07:00
2011-05-26 19:45:06 +02:00
2011-06-20 09:01:33 -07:00
2011-05-23 13:01:00 -07:00
2011-05-28 12:35:15 -07:00