Diff between fb08822bc03352789407d719c37d9fff8439a8cc and 73936fd2040d4d62d53fdbc2c4585e489ed9ffe3

Changed Files

File Additions Deletions Status
profiles/input/device.c +1 -0 modified
profiles/input/hog.c +1 -0 modified

Full Patch

diff --git a/profiles/input/device.c b/profiles/input/device.c
index d3724ed..2dc2eca 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -1409,6 +1409,7 @@ int input_device_register(struct btd_service *service)
 	}
 
 	btd_service_set_user_data(service, idev);
+	device_set_wake_support(device, true);
 
 	return 0;
 }
diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 9335b7e..130f696 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -166,6 +166,7 @@ static int hog_probe(struct btd_service *service)
 		return -EINVAL;
 
 	btd_service_set_user_data(service, dev);
+	device_set_wake_support(device, true);
 	return 0;
 }