From: Boris BREZILLON Date: Mon, 22 Sep 2014 19:37:55 +0000 (+0200) Subject: mfd: Inherit coherent_dma_mask from parent device X-Git-Tag: fixes-against-v3.18-rc2~69^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f08df1b06bb4022fab5a2a916f455915856ed9e;p=pandora-kernel.git mfd: Inherit coherent_dma_mask from parent device dma_mask and dma_parms are already inherited from the parent device but dma_coherent_mask was left uninitialized (set to zero thanks to kzalloc). Set sub-device coherent_dma_mask to its parent value to simplify sub-drivers making use of dma coherent helper functions (those drivers currently have to explicitly set the dma coherent mask using dma_set_coherent_mask function). Signed-off-by: Boris BREZILLON Acked-by: Arnd Bergmann Signed-off-by: Lee Jones --- Reading git-diff-tree failed