diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-14 12:49:12 +0800 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-22 22:01:58 +0100 |
commit | c9381cae8a2072c53bea7cd87c5ec517a1545121 (patch) | |
tree | d8c75d079fb1f7e93bcf7dfcd4e4640e5b41f69e /usr/gen_init_cpio.c | |
parent | 4a0e004916ab80a3608e54f895af21d08ab36d08 (diff) |
spi: fsl-dspi: Fix getting correct address for master
commit 017145fef567430789e40f6a22a90ce2a766370b upstream.
Current code set platform drvdata to dspi. However, the code in dspi_suspend()
and dspi_resume() assumes the drvdata is the address of master.
Fix it by setting platform drvdata to master.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'usr/gen_init_cpio.c')
0 files changed, 0 insertions, 0 deletions