summaryrefslogtreecommitdiff
path: root/drivers/firmware/dell_rbu.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-29 12:58:27 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 17:26:39 +0400
commitfa6e1cb66e2f9d2d4703e7bd7dd50839bb10e4c3 (patch)
treeec12ed8ef839812d7ae7af1a3d9454f923986177 /drivers/firmware/dell_rbu.c
parentc63e87e90abb5d3ecd05d6c6eba94163bf8c1760 (diff)
downloadlinux-fa6e1cb66e2f9d2d4703e7bd7dd50839bb10e4c3.tar.xz
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 'drivers/firmware/dell_rbu.c')
0 files changed, 0 insertions, 0 deletions