mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
pch_phub: Fix MAC address writing issue for LAPIS ML7831
ISSUE: Using ML7831, MAC address writing doesn't work well. CAUSE: ML7831 and EG20T have the same register map for MAC address access. However, this driver processes the writing the same as ML7223. This is not true. This driver must process the writing the same as EG20T. This patch fixes the issue. Signed-off-by: Tomoya MORINAGA <[email protected]> Cc: Masayuki Ohtak <[email protected]> Cc: Alexander Stein <[email protected]> Cc: Denis Turischev <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
9914a0de7a
commit
2a98879194
1 changed files with 1 additions and 1 deletions
|
|
@ -476,7 +476,7 @@ static int pch_phub_write_gbe_mac_addr(struct pch_phub_reg *chip, u8 *data)
|
|||
int retval;
|
||||
int i;
|
||||
|
||||
if (chip->ioh_type == 1) /* EG20T */
|
||||
if ((chip->ioh_type == 1) || (chip->ioh_type == 5)) /* EG20T or ML7831*/
|
||||
retval = pch_phub_gbe_serial_rom_conf(chip);
|
||||
else /* ML7223 */
|
||||
retval = pch_phub_gbe_serial_rom_conf_mp(chip);
|
||||
|
|
|
|||
Loading…
Reference in a new issue