Diagnostic procedure
Mazda 6 Service Manual: Clutch master cylinder disassembly/assembly
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order of disassembly.
Snap Ring Disassembly/Assembly Note
Hold the piston down using a cloth-wrapped pin punch.
If disassembling, remove the snap ring; if assembling, install it.
...
Mazda 6 Service Manual: Solenoid valve removal/installation
1. Disconnect the negative battery cable.
2. Remove the under cover.
3. Remove the control valve body. (See CONTROL VALVE BODY REMOVAL.)
4. Remove the solenoid valve(s).
5. Apply ATF to a new O-ring and install it on the solenoid valve.
6. Install the solenoid valve in the control valve body. ...