There is no attribute rcv_sel on Tegra 3.
Signed-off-by: Lucas Stach <[email protected]>
---
board-to-kernel-dt.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board-to-kernel-dt.py b/board-to-kernel-dt.py
index 86739db..20f27c3 100755
--- a/board-to-kernel-dt.py
+++ b/board-to-kernel-dt.py
@@ -56,7 +56,7 @@ for pincfg in board.pincfgs_by_num():
print(' nvidia,enable-input = <' +
mapper_bool(pincfg.e_inp) + '>;')
if pincfg.gpio_pin.od:
print(' nvidia,open-drain = <' +
mapper_bool(pincfg.od) + '>;')
- if pincfg.gpio_pin.rcv_sel:
+ if hasattr(pincfg.gpio_pin, 'rcv_sel') and pincfg.gpio_pin.rcv_sel:
print(' nvidia,rcv-sel = <' +
mapper_bool(pincfg.rcv_sel) + '>;')
print(' };')
--
2.1.0
--
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