|
@@ -448,6 +448,8 @@ int ir_raw_encode_scancode(enum rc_proto protocol, u32 scancode,
|
|
|
int ret = -EINVAL;
|
|
|
u64 mask = 1ULL << protocol;
|
|
|
|
|
|
+ ir_raw_load_modules(&mask);
|
|
|
+
|
|
|
mutex_lock(&ir_raw_handler_lock);
|
|
|
list_for_each_entry(handler, &ir_raw_handler_list, list) {
|
|
|
if (handler->protocols & mask && handler->encode) {
|