aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/ymfpci
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-29 11:58:27 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 14:26:39 +0100
commitfa6e1cb66e2f9d2d4703e7bd7dd50839bb10e4c3 (patch)
treeec12ed8ef839812d7ae7af1a3d9454f923986177 /sound/pci/ymfpci
parentc63e87e90abb5d3ecd05d6c6eba94163bf8c1760 (diff)
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>
Diffstat (limited to 'sound/pci/ymfpci')
0 files changed, 0 insertions, 0 deletions