1
0
Files
linux/sound
David Woodhouse fa6e1cb66e maestro3: treat firmware data as const
The maestro3 driver is byte-swapping its firmware to be host-endian in
advance, when it doesn't seem to be necessary -- we could just use
le16_to_cpu() as we load it.

Doing that means that we need to switch the in-tree firmware to be
little-endian too.

Take the least intrusive way of doing this, which is to switch the
existing snd_m3_convert_from_le() function to convert _to_ little-endian
instead, and use it on the in-tree firmware instead of the loaded
firmware. It's a bit suboptimal but doesn't matter much right now
because we're about to remove the special cases for the in-tree version
anyway.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2008-07-10 14:26:39 +01:00
..
2008-01-31 17:29:48 +01:00
2008-05-20 13:31:55 -07:00
2008-07-10 14:26:10 +01:00
2008-06-23 12:06:23 +02:00
2008-01-31 17:29:48 +01:00
2008-05-21 16:55:59 -07:00
2008-01-31 17:29:48 +01:00
2008-01-31 17:29:48 +01:00
2008-04-24 12:00:38 +02:00
2008-01-31 17:29:48 +01:00
2008-05-21 16:56:00 -07:00
2007-02-09 09:03:54 +01:00
2008-01-31 17:29:48 +01:00
2007-05-21 09:18:19 -07:00