diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2022-02-19 23:04:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-08 19:12:33 +0100 |
commit | b2a3068d5f152c027a4615413e2d162859183bfb (patch) | |
tree | 8602980b4d9336cf75b51bec8068f7ac4efcefc9 /drivers/ata/pata_ep93xx.c | |
parent | e0bcd6b5779352aed88f2e538a82a39f1a7715bb (diff) | |
download | linux-stable-b2a3068d5f152c027a4615413e2d162859183bfb.tar.gz linux-stable-b2a3068d5f152c027a4615413e2d162859183bfb.tar.bz2 linux-stable-b2a3068d5f152c027a4615413e2d162859183bfb.zip |
ata: pata_hpt37x: fix PCI clock detection
[ Upstream commit 5f6b0f2d037c8864f20ff15311c695f65eb09db5 ]
The f_CNT register (at the PCI config. address 0x78) is 16-bit, not
8-bit! The bug was there from the very start... :-(
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Fixes: 669a5db411d8 ("[libata] Add a bunch of PATA drivers.")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ata/pata_ep93xx.c')
0 files changed, 0 insertions, 0 deletions