Needs swapping with another drivers door switch
They aren't interchangeable, and besides, you need the mirror control to test the mirror
Mirror loom is short... only goes a few inches into the door, then plugs into door loom, which in turn plugs into the car loom at the A pillar. This loom then joins the main body loom in the big plugs behind the passenger kick panel before running across the car to the drivers side kick panel plugs. From here it runs upto the door connection and on to the switch. There is a tail of loom from the switch to the drivers mirror which can be ignored if that works as advertised...
Mirror off to access that plug, door open to access that plug, kick panels off for those plugs and door cards off for loom access.
If the drivers door mirror adjusts as it should, then the switch is probably fine. I suspect there's a break in the wiring in one of three places... In order of likelihood...
1. Where the drivers door plugs into the A post.
2. Where the passenger door plugs into the A post.
3. Where either door loom has been snagged during a lock solenoid change.