“7c25d9b8a1f422cdaadf26ac2c23f4b9fac4bc23”上不存在“doc/build_and_install/index_cn.rst”
  1. 22 11月, 2019 1 次提交
  2. 21 11月, 2019 26 次提交
  3. 20 11月, 2019 12 次提交
  4. 19 11月, 2019 1 次提交
    • M
      mdio_bus: fix mdio_register_device when RESET_CONTROLLER is disabled · 075e238d
      Marek Behún 提交于
      When CONFIG_RESET_CONTROLLER is disabled, the
      devm_reset_control_get_exclusive function returns -ENOTSUPP. This is not
      handled in subsequent check and then the mdio device fails to probe.
      
      When CONFIG_RESET_CONTROLLER is enabled, its code checks in OF for reset
      device, and since it is not present, returns -ENOENT. -ENOENT is handled.
      Add -ENOTSUPP also.
      
      This happened to me when upgrading kernel on Turris Omnia. You either
      have to enable CONFIG_RESET_CONTROLLER or use this patch.
      Signed-off-by: NMarek Behún <marek.behun@nic.cz>
      Fixes: 71dd6c0d ("net: phy: add support for reset-controller")
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
      Reviewed-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      075e238d