From: "Kamlakant Patel" <redacted>
Date: Tue, 6 Nov 2012 11:16:44 +0530
The issue is that the logic of the commit 3ac3546e does not work if
WORD_SWAP is needed. So we have to either revert that commit or add
logic to check for swapped register if we read PMT_CTRL before
programming WORD_SWAP.
I understand the problem.
You program the device into a state the driver is not expecting,
you have to therefore undo that before transferring control to
the kernel.
I accept no other solution, testing random reserved bits is
bogus beyond belief.