diff options
| author | 2022-05-15 23:41:26 +0300 | |
|---|---|---|
| committer | 2022-06-13 11:42:58 +0900 | |
| commit | 6cd379f75f424b874ea1f35e3c02fa4090246eaf (patch) | |
| tree | e7b8fa592599fc63643d9c741b4c59753394f45b /kernel/debug/ssh:/git@git.zx2c4.com | |
| parent | ata: pata_hpt37x: merge hpt374_read_freq() to hpt37x_pci_clock() (diff) | |
| download | linux-dev-6cd379f75f424b874ea1f35e3c02fa4090246eaf.tar.xz linux-dev-6cd379f75f424b874ea1f35e3c02fa4090246eaf.zip | |
ata: pata_hpt3x2n: pass base DPLL frequency to hpt3x2n_pci_clock()
Currently, the base DPLL frequency is hardcoded in hpt3x2n_pci_clock().
Align with the updated 'pata_hpt37x' driver, where this frequency is a
parameter to hpt37x_pci_clock().
While at it, also do the following to align with the 'pata_hpt37x' driver:
- fix the 'freq' local variable's type;
- remove the 'iobase' local variable;
- extend the comment to the inl() call;
- move the 'total' local variable's declaration.
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'kernel/debug/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
