commit | e26d15f735f570a1178c3bba4d85e6f58e098fdd | [log] [tgz] |
---|---|---|
author | Javier Martinez Canillas <javier@osg.samsung.com> | Tue Sep 15 14:46:45 2015 +0200 |
committer | Mark Brown <broonie@kernel.org> | Wed Sep 16 20:45:11 2015 +0100 |
tree | 9197d5d71ecede4f53f49851d49cdf9dc56b2455 | |
parent | 3d4fe182003bcde778e29e84c14c0c4bb70a452e [diff] |
spi: mediatek: fix wrong error return value on probe Commit adcbcfea15d62 ("spi: mediatek: fix spi clock usage error") added a new sel_clk but introduced bugs in the error paths since the wrong struct clk pointers are passed to PTR_ERR(). Fixes: adcbcfea15d62 ("spi: mediatek: fix spi clock usage error") Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>