1. 21 4月, 2010 3 次提交
    • J
      viafb: Unmap the frame buffer on initialization error · 1b1f8cd2
      Jonathan Corbet 提交于
      This was part of Harald's "make viafb a first-class citizen using
      pci_driver" patch, but somehow got dropped when that patch went into
      mainline.
      
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: ScottFang@viatech.com.cn
      Cc: JosephChan@via.com.tw
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      1b1f8cd2
    • H
      viafb: use proper pci config API · b72a5070
      Harald Welte 提交于
      This patch alters viafb to use the proper Linux in-kernel API to access
      PCI configuration space, rather than poking at I/O ports by itself.
      
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: ScottFang@viatech.com.cn
      Cc: JosephChan@via.com.tw
      Signed-off-by: NHarald Welte <HaraldWelte@viatech.com>
      b72a5070
    • H
      viafb: Fix various resource leaks during module_init() · 109771a6
      Harald Welte 提交于
      The current code executed from module_init() in viafb does not have
      proper error checking and [partial] resoure release paths in case
      an error happens half way through driver initialization.
      
      This patch adresses the most obvious of those issues, such as a
      leftover i2c bus if module_init (and thus module load) fails.
      
      [jc: fixed merge conflicts]
      [jc: also restored -ENOMEM return on ioremap() fail]
      
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: ScottFang@viatech.com.cn
      Cc: JosephChan@via.com.tw
      Signed-off-by: NHarald Welte <HaraldWelte@viatech.com>
      109771a6
  2. 31 3月, 2010 2 次提交
  3. 30 3月, 2010 29 次提交
  4. 29 3月, 2010 6 次提交