input: misc: inv: prevent IRQ revival
Problem description:
- nvi_work_function may revive IRQ which was disabled
during suspend and shutdown
Fix description:
- Add a flag stop_workqueue which is set during suspend
and shutdown
- If the flag is set, make workqueue not revive the IRQ
Bug
1361923
Change-Id: I498091602ef9c43b75c0a17d7fe0837624271959
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/284347
Reviewed-on: http://git-master/r/330860
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>