From: Max Filippov Date: Wed, 25 Mar 2009 12:45:01 +0000 (+0100) Subject: p54spi: fix p54spi_upload_firmware X-Git-Tag: v2.6.31-rc1~330^2~568^2~179 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e3af1d2d3e6c0011b4c22514d39c73dcbc6674f;p=pandora-kernel.git p54spi: fix p54spi_upload_firmware Instead of firmware itself p54_upload_firmware was sending to the device content of struct firmware and the following random garbage. Notice '&' before priv->firmware->data at p54spi_spi_write. But simple removing of '&' sign triggered BUG_ON at dma_cache_maint. Thus kmemdup - kfree workaround. Signed-off-by: Max Filippov Signed-off-by: Christian Lamparter Signed-off-by: John W. Linville --- Reading git-diff-tree failed