Adam Borowski 99a97a8ba9 drm/nouveau/gpio: enable interrupts on cards with 32 gpio lines
The code attempts to enable them, but hits an undefined behaviour by
shifting by the entire register's width:

    int lines = 32;
    u32 mask = (1 << lines) - 1;    // 00000000 on x86
    u32 mask = (1 << lines) - 1;    // ffffffff on arm (32)
    u32 mask = (1 << lines) - 1;    // 00000000 on arm64
    u32 mask = (1ULL << lines) - 1; // ffffffff everywhere

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-04-06 14:53:50 +10:00
..
2017-03-23 12:05:13 +10:00
2017-03-28 17:34:19 +10:00
2017-02-27 18:43:47 -08:00
2017-03-23 12:05:13 +10:00
2017-04-04 17:03:35 +03:00
2017-03-29 23:53:07 -04:00
2017-03-24 09:36:06 +01:00
2017-02-23 12:10:12 +10:00
2017-03-23 12:05:13 +10:00
2017-03-28 17:34:19 +10:00
2017-03-14 14:38:34 +01:00
2017-03-24 09:36:06 +01:00
2017-03-25 22:40:55 +01:00
2017-02-28 16:14:53 +01:00
2017-03-09 16:18:02 +01:00
2017-03-09 16:18:02 +01:00
2017-03-14 14:38:33 +01:00
2017-03-21 10:15:39 +02:00