Re: [PATCH tegra-pinmux-scripts 1/2] fix kernel dt generation for Tegra 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux