- 19 2月, 2011 40 次提交
-
-
由 Arend van Spriel 提交于
Non-error messages which were printed using WL_ERROR macro were decreased to WL_NONE (which is a no_printk) or WL_TRACE level macros. mac80211 callbacks that are not handled by the driver are printed with WL_ERROR. Reviewed-by: NRoland Vossen <rvossen@broadcom.com> Reviewed-by: NBrett Rudley <brudley@broadcom.com> Reviewed-by: NHenry Ptasinski <henryp@broadcom.com> Signed-off-by: NArend van Spriel <arend@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Arend van Spriel 提交于
Most mac80211 callbacks were named using prefix 'wl_ops' except for a few. These have been aligned to use the prefix as well. Reviewed-by: NRoland Vossen <rvossen@broadcom.com> Reviewed-by: NBrett Rudley <brudley@broadcom.com> Reviewed-by: NHenry Ptasinski <henryp@broadcom.com> Signed-off-by: NArend van Spriel <arend@broadcom.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Tomas Winkler 提交于
use %p instead of %X drop casting of pointer to long long int Cc: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: NTomas Winkler <tomas.winkler@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Tomas Winkler 提交于
remove pointless compilation flag Cc: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: NTomas Winkler <tomas.winkler@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Tomas Winkler 提交于
EASYCAP_NEEDS_V4L2_DEVICE_H and EASYCAP_NEEDS_V4L2_FOPS are required in in-tree driver Cc: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: NTomas Winkler <tomas.winkler@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Tomas Winkler 提交于
remove uneedet brackets in ifs and switches drop pointless castings other small fixes Cc: Mike Thomas <rmthomas@sciolus.org> Signed-off-by: NTomas Winkler <tomas.winkler@intel.com> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Tomas Winkler 提交于
masking return value of usb_control_msg() will mask negative error values into positive. Cc: Mike Thomas <rmthomas@sciolus.org> Reported-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NTomas Winkler <tomas.winkler@intel.com> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Tomas Winkler 提交于
Signed-off-by: NTomas Winkler <tomas.winkler@intel.com> Reviewed-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Aaro Koskinen 提交于
Move the XGIfb_mmio_size global variable into the video_info struct. Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Aaro Koskinen 提交于
Delete redudant comments, blank lines and a redundant semicolon. Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Aaro Koskinen 提交于
Release and unmap memory on probe error paths and when the module is removed. The patch enables unloading and reloading the xgifb module. Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Aaro Koskinen 提交于
XGINew_LCD_Wait_Time() is implemented using the I/O port 0x61, which is X86-specific and will fail on other platforms. The code did not make any sense, but I guess the intention has been to provide a function where the unit for the delay is milliseconds. Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Aaro Koskinen 提交于
Use proper helper functions to copy the PCI ROM. Also use dynamic memory allocation. The original code mapped incorrect amount of memory and will crash on some platforms. Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Aaro Koskinen 提交于
Some xgifb_probe() error paths are missing proper vfree()s. Move them all into a single place. Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Aaro Koskinen 提交于
framebuffer_release() is missing from error paths. Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Krzysztof Hałasa 提交于
Signed-off-by: NKrzysztof Hałasa <khalasa@piap.pl> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Krzysztof Hałasa 提交于
This driver supports both Solo-6010 and Solo-6110 chips anyway. Renamed solo6010.h -> solo6x10.h. Signed-off-by: NKrzysztof Hałasa <khalasa@piap.pl> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Krzysztof Hałasa 提交于
Signed-off-by: NKrzysztof Hałasa <khalasa@piap.pl> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Krzysztof Hałasa 提交于
Signed-off-by: NKrzysztof Hałasa <khalasa@piap.pl> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Krzysztof Hałasa 提交于
Solo-6110 only supports 8-byte alignment anyway. Signed-off-by: NKrzysztof Hałasa <khalasa@piap.pl> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Krzysztof Hałasa 提交于
This will make them maintainable. Also, it now works on big-endian systems. This is the slow path (done every 1+ second, per channel) so I guess there is no need to cache the results. I have removed CBR-related bits from the MPEG4 VOL header since we can't do CBR (at least yet). Signed-off-by: NKrzysztof Hałasa <khalasa@piap.pl> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Krzysztof Hałasa 提交于
This makes it possible to request full resolution (704x576 or 704x480) independently of the color system used (PAL or NTSC). Signed-off-by: NKrzysztof Hałasa <khalasa@piap.pl> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mike McCormack 提交于
Signed-off-by: NMike McCormack <mikem@ring3k.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andres Salomon 提交于
DCON builds properly now; we can drop the config dep on CONFIG_BROKEN. Signed-off-by: NAndres Salomon <dilinger@queued.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andres Salomon 提交于
- Move bl_val and bl_dev into dcon_priv struct.... - The only time we ever read the backlight val from the dcon is at probe time. Rather than calling dcon_get_backlight for that, just read from the register. - Drop dcon_get_backlight; it's just returning dcon->bl_val. - Rename dcon_set_backlight_hw to dcon_set_backlight, and drop the old dcon_set_backlight function. Move contents of old dcon_set_backlight function into dconbl_set. - Shuffle backlight_ops callbacks around to be closer to struct, and rename them. - Make use of new backlight_properties arg to backlight_device_register, drop old code that set this manually. Signed-off-by: NAndres Salomon <dilinger@queued.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andres Salomon 提交于
Global variables dcon_switched, dcon_irq_time, and dcon_load_time can all be moved into the dcon_priv struct now that dcon_interrupt has access to dcon_priv. Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andres Salomon 提交于
This moves dcon_source and dcon_pending into the dcon_priv struct. Because these variables are used by the IRQ handler (which is registered in the model-specific callbacks), we end up needing to move dcon_priv into olpc_dcon.h. This also changes the IRQ registration to use the dcon_priv pointer as dev_id, instead of dcon_driver. Signed-off-by: NAndres Salomon <dilinger@queued.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andres Salomon 提交于
This adds CONFIG_FB_OLPC_DCON_1 and CONFIG_FB_OLPC_DCON_1_5 options for allowing selection of XO-1 and/or XO-1.5 DCON support. In the process, it also forces the xo_1.c and xo_1_5.c files to build as separate units, correctly selects between XO-1 and XO-1.5 at runtime, and adds some hacks to allow xo_1_5.c to build. This isn't the cleanest patch, but it'll get better as more global variables are dropped. Signed-off-by: NAndres Salomon <dilinger@queued.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andres Salomon 提交于
Remove code related to XO-1.5 prototype boards. Signed-off-by: NAndres Salomon <dilinger@queued.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marek Belisko 提交于
olpc_dcon driver use self invented _strtoul function which make similar check like strict_strtoul just extend for space checking at last string place. Normally access to sys file looks echo 1024 > /sys/... so space could be considered as error character and we could simplify code using just strict_strtoul function instead self invented. Signed-off-by: NMarek Belisko <marek.belisko@open-nandra.com> Signed-off-by: NAndres Salomon <dilinger@queued.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Andres Salomon 提交于
- move fbinfo and ignore_fb_events into dcon_priv - add calls to {un,}lock_fb_info before calling fb_blank - fail to load the driver if there are no registered framebuffers That last one fixes a potential oops, where if the dcon driver loads without a framebuffer registered, fb_blank will end up being passed a NULL (and will attempt to dereference it). Signed-off-by: NAndres Salomon <dilinger@queued.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-