From: Brian Niebuhr Date: Thu, 19 Aug 2010 11:12:42 +0000 (+0530) Subject: spi: davinci: simplify calculation of edma acount value X-Git-Tag: v2.6.38-rc1~454^2~6^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7ab24a0da96c8fc6d551ea87e82692299df6ac6;p=pandora-kernel.git spi: davinci: simplify calculation of edma acount value The EDMA acount (called data_type in davinci_spi_bufs_dma()) is simply the bytes_per_word obtained in the transfer setup function. The current code calculates the acount value from bytes_per_word in a convoluted manner. Simplify the code. Signed-off-by: Brian Niebuhr Tested-By: Michael Williamson Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed