From: Andy Shevchenko Date: Thu, 22 Jan 2015 15:59:34 +0000 (+0200) Subject: spi: dw-mid: get a proper clock frequency for SPI2 X-Git-Tag: fixes-v4.0-rc1~184^2~5^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9c14743a330315b6e2186cafc4812fe91a1fa8f;p=pandora-kernel.git spi: dw-mid: get a proper clock frequency for SPI2 The clock information is being kept in the custom register on Intel MID platforms. Each controller has its own dedicated custom register for that. Thus, to get a proper frequency we have to read value from the specific offset to the register block. This patch makes this happen. Fixes: d58cf5ff6500 (spi: dw-pci: describe Intel MID controllers better) Signed-off-by: Andy Shevchenko Signed-off-by: Mark Brown --- Reading git-diff-tree failed