]> git.baikalelectronics.ru Git - kernel.git/commit
wl18xx: alloc conf.phy memory to ensure alignemnt
authorArik Nemtsov <arik@wizery.com>
Thu, 5 Jul 2012 14:30:58 +0000 (17:30 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 18 Jul 2012 12:08:21 +0000 (15:08 +0300)
commitfed38d28f82644cf8035691e1e2374659cece081
tree024711175b2af6210385ec7eed817134625aaaa1
parentc18654eaa056d82ef14c39fab6c6d2f6424e4245
wl18xx: alloc conf.phy memory to ensure alignemnt

We get DMA alignment trouble if the beginning of the conf.phy struct is
not aligned to 4 bytes. Use kmemdup to ensure alignment.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl18xx/main.c