net/ice/base: change address parameter to 16-bit
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 16 Sep 2021 09:52:57 +0000 (17:52 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 21 Sep 2021 12:33:30 +0000 (14:33 +0200)
commited2ffccdc1c862a24361f67dcf470428be142418
tree425ab53b9701b09ec44c9a6499aa5ec4b2542c65
parent2e826e6462d44efb9869669a6a46a5a8884b509c
net/ice/base: change address parameter to 16-bit

Change one of the input parameter (addr) in ice_read_cgu_reg_e822 and
ice_write_cgu_reg_e822 functions. This will avoid the shrink down
conversion from addr to cgu_msg.msg_addr_low.

Signed-off-by: Chinh T Cao <chinh.t.cao@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Junfeng Guo <junfeng.guo@intel.com>
drivers/net/ice/base/ice_ptp_hw.c