On 01/05/2015 02:47 PM, Lucas Stach wrote:
There is no attribute rcv_sel on Tegra 3.

diff --git a/board-to-kernel-dt.py b/board-to-kernel-dt.py

-    if pincfg.gpio_pin.rcv_sel:
+    if hasattr(pincfg.gpio_pin, 'rcv_sel') and pincfg.gpio_pin.rcv_sel:

It might be slightly simpler to do:

if pincfg.gpio_pin.get('rcv_sel', false):

?
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to