commit | 03ffaab6dc0e9fbab9d3c08683beca6c9355fb1b | [log] [tgz] |
---|---|---|
author | Sergey Shtylyov <s.shtylyov@omp.ru> | Sat Feb 19 23:04:29 2022 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 08 19:00:57 2022 +0100 |
tree | a872426bf35b43193642d8159bf46b67faeabc04 | |
parent | e09100044e658fb7906494ed5109323ba64f3e7a [diff] |
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>