diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-10-19 15:13:34 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-11-19 14:03:05 +0100 |
commit | bdaeb8f23c6d5d11829072baaf0c0fe37c09f26a (patch) | |
tree | 65233cb93028867ac8bbc3b893dac3bcabd490d5 /drivers/i2c/i2c-uclass.c | |
parent | f3bd72801aade1eb74e153bfa57c26f327571475 (diff) |
common: mii: Do not allow to exceed max phy limit
Phy can have addresses 0-31. Check this boundary to ensure that user
can't call commands on phy address 32 and more.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/i2c/i2c-uclass.c')
0 files changed, 0 insertions, 0 deletions