This patch fixes prevent defects in serial drvier.
The "qos_timeout" value should be read as unsigned long type.
Change-Id: Ib335fcbd4580e034d97221827545b8072e5c13b8
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
&ourport->uart_irq_affinity))
ourport->uart_irq_affinity = 0;
- if (of_property_read_u32(pdev->dev.of_node, "qos_timeout",
- (u32 *)&ourport->qos_timeout))
+ if (of_property_read_u64(pdev->dev.of_node, "qos_timeout",
+ (u64 *)&ourport->qos_timeout))
ourport->qos_timeout = 0;
if ((ourport->mif_qos_val || ourport->cpu_qos_val)