diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-01-07 17:33:59 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-06 19:22:13 (GMT) |
commit | 6d004cdc6054bf21a9eb2fc1b83b5628f2a4d644 (patch) | |
tree | 25b914ddd0a541d6f27e00d62b2d40555f3deb78 /drivers/watchdog/davinci_wdt.c | |
parent | 709f3756e9c1bc0ba0dff0edb0bff2b4149dd2fe (diff) | |
download | linux-fsl-qoriq-6d004cdc6054bf21a9eb2fc1b83b5628f2a4d644.tar.xz |
drm/nouveau/bios: fix offset calculation for BMPv1 bioses
commit 5d2f4767c4eacab351b8450b0de4d3261fe1a957 upstream.
The only BIOS on record that needs the 14 offset has a bios major
version 2 but BMP version 1.01. Another bunch of BIOSes that need the 18
offset have BMP version 2.01 or 5.01 or higher. So instead of looking at the
bios major version, look at the BMP version. BIOSes with BMP version 0
do not contain a detectable script, so always return 0 for them.
See https://bugs.freedesktop.org/show_bug.cgi?id=68835
Reported-by: Mauro Molinari <mauromol@tiscali.it>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/davinci_wdt.c')
0 files changed, 0 insertions, 0 deletions