.. | .. |
---|
1583 | 1583 | return ret; |
---|
1584 | 1584 | } |
---|
1585 | 1585 | #else |
---|
1586 | | - //ret = of_property_read_u32(np, "ctp_screen_max_x", &screen_max_x); |
---|
1587 | | - //of_property_read_u32(np, "ctp_screen_max_y", &screen_max_y); |
---|
1588 | | - //of_property_read_u32(np, "ctp_revert_x_flag", &revert_x_flag); |
---|
1589 | | - //of_property_read_u32(np, "ctp_revert_y_flag", &revert_y_flag); |
---|
1590 | | - //of_property_read_u32(np, "ctp_exchange_x_y_flag", &exchange_x_y_flag); |
---|
| 1586 | + ret = of_property_read_u32(np, "ctp_screen_max_x", &screen_max_x); |
---|
| 1587 | + of_property_read_u32(np, "ctp_screen_max_y", &screen_max_y); |
---|
| 1588 | + of_property_read_u32(np, "ctp_revert_x_flag", &revert_x_flag); |
---|
| 1589 | + of_property_read_u32(np, "ctp_revert_y_flag", &revert_y_flag); |
---|
| 1590 | + of_property_read_u32(np, "ctp_exchange_x_y_flag", &exchange_x_y_flag); |
---|
1591 | 1591 | #endif |
---|
1592 | 1592 | sunxi_gpio_to_name(CTP_IRQ_NUMBER,irq_pin_name); |
---|
1593 | 1593 | pr_err("gt %s, line:%d irq_pin_name = %s \n",__FUNCTION__, __LINE__, irq_pin_name); |
---|