1. 08 6月, 2011 2 次提交
    • B
      ARM: SAMSUNG: serial: Fix on handling of one clock source for UART · 470f2297
      Boojin Kim 提交于
      This patch fixes the way of comparison for handling of two or more
      clock sources for UART.
      
      For example, if just only one clock source is defined even though
      there are two clock sources for UART, the serial driver does not
      set proper clock up. Of course, it is problem.
      
      So this patch changes the condition of comparison to avoid useless
      setup clock and adds a flag 'NO_NEED_CHECK_CLKSRC' which means
      selection of source clock is not required.
      
      In addition, since the Exynos4210 has only one clock source for UART
      this patch adds the flag into its common_init_uarts().
      Signed-off-by: NBoojin Kim <boojin.kim@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      Cc: stable <stable@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      470f2297
    • L
      serial: ioremap warning fix for jsm driver. · af99d6f0
      Lennart Sorensen 提交于
      I saw a warning about ioremap from the jsm driver on a system which
      looked like this:
      
      resource map sanity check conflict: 0xe0200800 0xe02017ff 0xe0200800 0xe0200fff 0000:01:08.0
      
      Turns out the warning is valid.  The jsm driver has been asking to ioremap
      0x1000 forever, but in fact only 8 port chips have 0x1000 bytes of memory.
      4 port chips have 0x800 and 2 port chips have 0x400 according to the
      data sheet.  It makes more sense to map the size of the region rather
      than a hard coded value.  If you happen to have the region legitimately
      mapped to a base address that is not 4K aligned, ioremap complains
      otherwise.
      Signed-off-by: NLen Sorensen <lsorense@csclub.uwaterloo.ca>
      Acked-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      af99d6f0
  2. 06 6月, 2011 6 次提交
  3. 05 6月, 2011 4 次提交
  4. 04 6月, 2011 24 次提交
  5. 03 6月, 2011 4 次提交