As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT WAS GROUNDED: CAPTAIN DECLARED AN EMERGENCY INTO LAX ON ACCOUNT OF FLIGHT CONTROL FLAP LOCKS ALIGNMENT FAILURE. MAINTENANCE REMOVED & REPLACED THE RH WING FLAP INTERCONNECT STRUT PROX SENSOR 38CV IAW AMM 27-51-44. OPS TEST OK.