Issues with my 2016 Mazda6 EPB

I had my rear brake pads and rotors changed recently and since then I have had an issue with the EPB light coming on and off. The Dealership said I may have to replace the EPB module/motor. Any help will be deeply appreciated.