adapter: Handle controller resume and notify drivers
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Fri, 11 Sep 2020 22:30:35 +0000 (15:30 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:32 +0000 (19:08 +0530)
commit98713da46e3f2d7f5e72aacc8f08371e6533808a
treee7c00f6ee22b809c8982f99ddc09e84b21a4bbf7
parent1d59d153efb170ef364fe33b0d869b801d85ecdb
adapter: Handle controller resume and notify drivers

Register for controller resume notification and notify the adapter
drivers when it occurs. Also adds the resume event kernel feature to
make sure the kernel supports this event.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adapter.c
src/adapter.h