As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
ON CLIMB GOING THROUGH 19,000 FLAPS FAILED AT ZERO, RETURNED TO DTW WITH UNEVENTFUL LANDING. PERFORMED TROUBLESHOOTING PER BOMBARDIER FIM AND WAS DETERMINED TO BE A FAILURE OF THE RIGHT BRAKE POSITION SENSING UNIT (BPSU). UNIT REPLACED AND FLAPS RIGGED PER BOMBARDIER AMM.