summaryrefslogtreecommitdiff
path: root/drivers/sound
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-08-16 23:13:34 -0500
committerTom Rini <trini@konsulko.com>2018-09-11 21:37:50 -0400
commit1eddf549319541ae41b2c8f1cb7a01fe3b737b53 (patch)
treeca778befd9d7359d22df74f256fbe41f70e36590 /drivers/sound
parent93f3362762f049c63517a73ebbbf6dd8c0e26244 (diff)
DM: GPIO: Fix da8xx GPIO indexing over GPIO 32
The GPIO banks are broken up into two 16-bit registers for each bank set. Unfortunately, the math that determines how to shift blindly shifted by the number of the gpio. This worked for gpio numbers under 32, but higher gpio's are broken. This fixes the gpio index, so the bank is passed and the shift amount within the register is passed now instead of the gpio number. Fixes: 8e51c0f25406("dm: gpio: Add DM compatibility to GPIO driver for Davinci") Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'drivers/sound')
0 files changed, 0 insertions, 0 deletions