summaryrefslogtreecommitdiffstats
path: root/fs/ntfs
diff options
context:
space:
mode:
authorTobias Jordan <Tobias.Jordan@elektrobit.com>2018-04-30 16:49:29 +0200
committerWolfram Sang <wsa@the-dreams.de>2018-05-08 23:13:19 +0200
commite6faa71034f6d0692a3a20d6b55565a36b6b8156 (patch)
treed61e410156a52fb895a278ef422ca67887e0c284 /fs/ntfs
parenti2c: rcar: enhance comment to avoid regressions (diff)
downloadlinux-e6faa71034f6d0692a3a20d6b55565a36b6b8156.tar.xz
linux-e6faa71034f6d0692a3a20d6b55565a36b6b8156.zip
i2c: axxia: enable clock before calling clk_get_rate()
axxia_i2c_init() uses clk_get_rate() for idev->i2c_clk. clk_get_rate() should only be called if the clock is enabled, so ensure that by moving the clk_prepare_enable() call before the call to axxia_i2c_init(). Found by Linux Driver Verification project (linuxtesting.org). Fixes: 08678b850cd0 ("i2c: axxia: Add I2C driver for AXM55xx") Signed-off-by: Tobias Jordan <Tobias.Jordan@elektrobit.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'fs/ntfs')
0 files changed, 0 insertions, 0 deletions