Amlogic has two IR remote driver

Considering this Makefile we see there is two indepent set of codes for IR remote driver. By default the remote_meson.c is used but Could we use remote_main.c instead in Android 7.1 SDK?

I recall that back when we compile mmallow SDK we used remote_main.c but what is the core difference between these two drivers for IR?

P.S. I changed makefile swapping the comment symbol # from remote_main to remote_meson. But the remote no longer works! I seek a way if possible to replace the drivers so my main problem (wake up on IR remote not works!) be cured!