summaryrefslogtreecommitdiff
path: root/lib/crc-t10dif.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-07-11 04:26:49 (GMT)
committerMark Brown <broonie@linaro.org>2013-07-15 10:37:56 (GMT)
commit83174626ccf897827d2c49f26d9b0b7f74af85cc (patch)
tree3831a2b814069ed23fe04493f999f9bbff3b02a5 /lib/crc-t10dif.c
parent130b82c047675cf398ac49b7d230288f1b9ac9ad (diff)
downloadlinux-fsl-qoriq-83174626ccf897827d2c49f26d9b0b7f74af85cc.tar.xz
spi: spi-imx: Check the return value from clk_prepare_enable()
clk_prepare_enable() may fail, so let's check its return value and propagate it in the case of error. While at it, fix the order of clk_disable_unprepare calls: clk_ipg should be disabled first, followed by clk_per. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'lib/crc-t10dif.c')
0 files changed, 0 insertions, 0 deletions