aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2017-12-22 16:14:12 +0000
committerEduardo Valentin <[email protected]>2018-01-01 21:25:19 +0000
commit64163681a25e00182f727caa3a57ffe8d70f1022 (patch)
tree9775cb18fdacc6fd65e2d309fe94c3fa65dae5d0 /fs/jbd2/commit.c
parentthermal: armada: Change sensors trim default value (diff)
downloadkernel-64163681a25e00182f727caa3a57ffe8d70f1022.tar.gz
kernel-64163681a25e00182f727caa3a57ffe8d70f1022.zip
thermal: armada: Wait sensors validity before exiting the init callback
The thermal core will check for sensors validity right after the initialization callback has returned. As the initialization routine make a reset, the sensors are not ready immediately and the core spawns an error in the dmesg. Avoid this annoying situation by polling on the validity bit before exiting from these routines. This also avoid the use of blind sleeps. Suggested-by: David Sniatkiwicz <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Gregory CLEMENT <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions