Re: [pm-wip/uart][PATCH 3/4] Serial: Avoid using hwmod lookup using name string

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

 



"Gopinath, Thara" <thara@xxxxxx> writes:

>>>
>>>-		uart = kzalloc(sizeof(struct omap_uart_state), GFP_KERNEL);
>>>-		if (WARN_ON(!uart))
>>>-			return;
>>>+	/*
>>>+	 * NOTE: omap_hwmod_init() has not yet been called,
>>>+	 *       so no hwmod functions will work yet.
>>>+	 */
>>>
>>>-		uart->oh = oh;
>>>-		uart->num = i++;
>>>-		list_add_tail(&uart->node, &uart_list);
>>>-		num_uarts++;
>>>+	/*
>>>+	 * During UART early init, device need to be probed
>>>+	 * to determine SoC specific init before omap_device
>>>+	 * is ready.  Therefore, don't allow idle here
>>>+	 */
>
> You have two comment blocks back to back. Either make it into one block or put the first block appropriately above the intended code.

The latter please.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux