OSDN Git Service

ptp_pch: Use ioread64_hi_lo() / iowrite64_hi_lo()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 7 Feb 2022 21:07:27 +0000 (23:07 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Feb 2022 05:04:31 +0000 (21:04 -0800)
commitd09adf61002fd3f956278114741d9dedc5a4b610
tree776ed61fa7b43d4dcdfa2b61dfe12297d7e9a87b
parent8664d49a815e34f8e88489efb72c23826167adbe
ptp_pch: Use ioread64_hi_lo() / iowrite64_hi_lo()

There is already helper functions to do 64-bit I/O on 32-bit machines or
buses, thus we don't need to reinvent the wheel.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220207210730.75252-3-andriy.shevchenko@linux.intel.com
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_pch.c