]> git.itanic.dy.fi Git - linux-stable/commit
staging: olpc_dcon: Replace flush_scheduled_work() with flush_work().
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fri, 10 Jun 2022 10:08:43 +0000 (19:08 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 12:47:45 +0000 (14:47 +0200)
commit4bbdc208a5ff3ba970fecd4fdb36a9ce6ca06895
tree527fc18922d5af67bd8f406bfc12fd78f283d469
parentd2b47721a10037c17b378decc611341bfff60c44
staging: olpc_dcon: Replace flush_scheduled_work() with flush_work().

Since "struct dcon_priv" is per a device struct, I assume that
dcon_set_source_sync() needs to wait for only one work associated with
that device. Therefore, wait for only that work using flush_work().

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Link: https://lore.kernel.org/r/a973969d-cfd0-adc8-2651-d299199dbd7b@I-love.SAKURA.ne.jp
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/olpc_dcon/olpc_dcon.c