06 Nov, 2015
3 commits
-
Pull spi updates from Mark Brown:
"Quite a lot of activity in SPI this cycle, almost all of it in drivers
with a few minor improvements and tweaks in the core.- Updates to pxa2xx to support Intel Broxton and multiple chip selects.
- Support for big endian in the bcm63xx driver.
- Multiple slave support for the mt8173
- New driver for the auxiliary SPI controller in bcm2835 SoCs.
- Support for Layerscale SoCs in the Freescale DSPI driver"* tag 'spi-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (87 commits)
spi: pxa2xx: Rework self-initiated platform data creation for non-ACPI
spi: pxa2xx: Add support for Intel Broxton
spi: pxa2xx: Detect number of enabled Intel LPSS SPI chip select signals
spi: pxa2xx: Add output control for multiple Intel LPSS chip selects
spi: pxa2xx: Use LPSS prefix for defines that are Intel LPSS specific
spi: Add DSPI support for layerscape family
spi: ti-qspi: improve ->remove() callback
spi/spi-xilinx: Fix race condition on last word read
spi: Drop owner assignment from spi_drivers
spi: Add THIS_MODULE to spi_driver in SPI core
spi: Setup the master controller driver before setting the chipselect
spi: dw: replace magic constant by DW_SPI_DR
spi: mediatek: mt8173 spi multiple devices support
spi: mediatek: handle controller_data in mtk_spi_setup
spi: mediatek: remove mtk_spi_config
spi: mediatek: Update document devicetree bindings to support multiple devices
spi: fix kernel-doc warnings about missing return desc in spi.c
spi: fix kernel-doc warnings about missing return desc in spi.h
spi: pxa2xx: Align a few defines
spi: pxa2xx: Save other reg_cs_ctrl bits when configuring chip select
... -
Pull media updates from Mauro Carvalho Chehab:
"Media updates, including:- Lots of improvements at the kABI documentation
- Split of Videobuf2 into a common part and a V4L2 specific one
- Split of the VB2 tracing events into a separate header file
- s5p-mfc got support for Exynos 5433
- v4l2 fixes for 64-bits alignment when running 32 bits userspace
on ARM
- Added support for SDR radio transmitter at core, vivid and hackrf
drivers
- Some y2038 fixups
- Some improvements at V4L2 colorspace support
- saa7164 converted to use the V4L2 core control framework
- several new boards additions, cleanups and fixupsPS: There are two patches for scripts/kernel-doc that are needed by
the documentation patches on Media. Jon is OK on merging those via
my tree"* tag 'media/v4.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (146 commits)
[media] c8sectpfe: Remove select on CONFIG_FW_LOADER_USER_HELPER_FALLBACK
[media] DocBook media: update copyright/version numbers
[media] ivtv: Convert to get_user_pages_unlocked()
[media] media/v4l2-ctrls: fix setting autocluster to manual with VIDIOC_S_CTRL
[media] DocBook media: Fix a typo in encoder cmd
[media] DocBook: add SDR specific info to G_MODULATOR / S_MODULATOR
[media] DocBook: add SDR specific info to G_TUNER / S_TUNER
[media] hackrf: do not set human readable name for formats
[media] hackrf: add support for transmitter
[media] hackrf: switch to single function which configures everything
[media] hackrf: add control for RF amplifier
[media] DocBook: add modulator type field
[media] v4l: add type field to v4l2_modulator struct
[media] DocBook: document SDR transmitter
[media] v4l2: add support for SDR transmitter
[media] DocBook: document tuner RF gain control
[media] v4l2: add RF gain control
[media] v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR
[media] media/vivid-osd: fix info leak in ioctl
[media] media: videobuf2: Move v4l2-specific stuff to videobuf2-v4l2
... -
Pull file locking updates from Jeff Layton:
"The largest series of changes is from Ben who offered up a set to add
a new helper function for setting locks based on the type set in
fl_flags. Dmitry also send in a fix for a potential race that he
found with KTSAN"* tag 'locks-v4.4-1' of git://git.samba.org/jlayton/linux:
locks: cleanup posix_lock_inode_wait and flock_lock_inode_wait
Move locks API users to locks_lock_inode_wait()
locks: introduce locks_lock_inode_wait()
locks: Use more file_inode and fix a comment
fs: fix data races on inode->i_flctx
locks: change tracepoint for generic_add_lease
05 Nov, 2015
1 commit
-
Pull staging driver updates from Greg KH:
"Here's the big staging driver update for 4.4-rc1. If you were
disappointed for 4.3-rc1 that we didn't contribute enough changesets,
you should be happy with this pull request of over 2400 patches.But overall we removed more lines of code than we added, which is nice
to see. Full details in the shortlog.All of these have been in linux-next for a while"
Greg, I've never been disappointed in how few commits Staging
contributes to the kernel.. Never.* tag 'staging-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (2431 commits)
Staging: rtl8192u: ieee80211: added missing blank lines
Staging: rtl8192u: ieee80211: removed unnecessary braces
Staging: rtl8192u: ieee80211: corrected block comments
Staging: rtl8192u: ieee80211: corrected indent
Staging: rtl8192u: ieee80211: added missing spaces after if
Staging: rtl8192u: ieee80211: added missing space around '='
Staging: rtl8192u: ieee80211: fixed position of else statements
Staging: rtl8192u: ieee80211: fixed open brace positions
staging: rdma: ipath: Remove unneeded vairable.
staging: rtl8188eu: pwrGrpCnt variable removed in store_pwrindex_offset function
staging: rtl8188eu: new variable for hal_data->MCSTxPowerLevelOriginalOffset[pwrGrpCnt] in store_pwrindex_offset function
staging: rtl8188eu: checkpatch fixes: 'Avoid CamelCase' in hal/bb_cfg.c
staging: rtl8188eu: checkpatch fixes: line over 80 characters splited into two parts
staging: rtl8188eu: checkpatch fixes: alignment should match open parenthesis
staging: rtl8188eu: checkpatch fixes: unnecessary parentheses removed in hal/bb_cfg.c
staging: rtl8188eu: checkpatch fixes: spaces preferred around that '|' in hal/bb_cfg.c
staging: rtl8188eu: operator = replaced by += in loop increment
staging: rtl8188eu: occurrence of the 5 GHz code marked
staging: rtl8188eu: increment placed into for loop header
staging: rtl8188eu: while loop replaced by for loop in rtw_restruct_wmm_ie
...
04 Nov, 2015
2 commits
-
…pi/topic/owner', 'spi/topic/pxa' and 'spi/topic/pxa2xx' into spi-next
-
Pull locking changes from Ingo Molnar:
"The main changes in this cycle were:- More gradual enhancements to atomic ops: new atomic*_read_ctrl()
ops, synchronize atomic_{read,set}() ordering requirements between
architectures, add atomic_long_t bitops. (Peter Zijlstra)- Add _{relaxed|acquire|release}() variants for inc/dec atomics and
use them in various locking primitives: mutex, rtmutex, mcs, rwsem.
This enables weakly ordered architectures (such as arm64) to make
use of more locking related optimizations. (Davidlohr Bueso)- Implement atomic[64]_{inc,dec}_relaxed() on ARM. (Will Deacon)
- Futex kernel data cache footprint micro-optimization. (Rasmus
Villemoes)- pvqspinlock runtime overhead micro-optimization. (Waiman Long)
- misc smaller fixlets"
* 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
ARM, locking/atomics: Implement _relaxed variants of atomic[64]_{inc,dec}
locking/rwsem: Use acquire/release semantics
locking/mcs: Use acquire/release semantics
locking/rtmutex: Use acquire/release semantics
locking/mutex: Use acquire/release semantics
locking/asm-generic: Add _{relaxed|acquire|release}() variants for inc/dec atomics
atomic: Implement atomic_read_ctrl()
atomic, arch: Audit atomic_{read,set}()
atomic: Add atomic_long_t bitops
futex: Force hot variables into a single cache line
locking/pvqspinlock: Kick the PV CPU unconditionally when _Q_SLOW_VAL
locking/osq: Relax atomic semantics
locking/qrwlock: Rename ->lock to ->wait_lock
locking/Documentation/lockstat: Fix typo - lokcing -> locking
locking/atomics, cmpxchg: Privatize the inclusion of asm/cmpxchg.h
29 Oct, 2015
34 commits
-
This patch resolves the following checkpatch warnings:
- WARNING: Missing a blank line after declarationsSigned-off-by: Kurt Kanzenbach
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch warning:
- WARNING: braces {} are not necessary for single statement blocksSigned-off-by: Kurt Kanzenbach
Signed-off-by: Greg Kroah-Hartman -
This patch reformats some block comments in order to
match the Linux kernel coding style.Signed-off-by: Kurt Kanzenbach
Signed-off-by: Greg Kroah-Hartman -
This patch corrects the indentation in five instances in the
ieee80211_crypt_tkip.c file.Signed-off-by: Kurt Kanzenbach
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error:
- ERROR: space required before the open parenthesis '('Signed-off-by: Kurt Kanzenbach
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error:
- ERROR: spaces required around that '='Signed-off-by: Kurt Kanzenbach
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error:
- ERROR: else should follow close brace '}'Signed-off-by: Kurt Kanzenbach
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the following checkpatch error:
- ERROR: that open brace { should be on the previous lineSigned-off-by: Kurt Kanzenbach
Signed-off-by: Greg Kroah-Hartman -
Remove unneeded variable ret, directly return 0.
Signed-off-by: Muhammad Falak R Wani
Signed-off-by: Greg Kroah-Hartman -
This variable used only once in the beginning of the function,
it can be removed.Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
…GrpCnt] in store_pwrindex_offset function
hal_data->MCSTxPowerLevelOriginalOffset[pwrGrpCnt] frequent in this function, so it replaced by the power_level_offset new variable.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -
This is checkpatch fixes for hal/bb_cfg.c file: Avoid CamelCase.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
This is checkpatch fixes for hal/bb_cfg.c file:
line over 80 characters.Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
This is checkpatch fixes for hal/bb_cfg.c file:
alignment should match open parenthesis.Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
This is checkpatch fixes for hal/bb_cfg.c file:
unnecessary parentheses around .Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
This is checkpatch fixes for hal/bb_cfg.c file:
spaces preferred around that '|'.Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
x = x + a and x += a equivalen, but second preferably.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
Channel numbers greater than 14 are used here, which are possible only
for the 5 GHz frequency.Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
The increment at the end of the cycle, and it can be placed in the loop header.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
This patch replaces while loop with for loop, because the initial condition and the increment clearly and briefly defined for this loop.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
This patch removes unused MIN macro from include/rtw_security.h.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
This patch removes unused MEM_ALIGNMENT_OFFSET and MEM_ALIGNMENT_PADDING macros
from include/basic_types.h.Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
This patch removes unused SUCCESS and FAIL macros in include/basic_types.h.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
abs macro is useful for determining the difference between the two integers.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
min_t macro better conveys the meaning of the code.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
min_t macro better conveys the meaning of the code.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
min (or max) kernel macro better conveys the meaning of the code.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
To limit the range of integers there is clamp macro.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
ARRAY_SIZE shorter and more difficult to create bugs.
Signed-off-by: Ivan Safonov
Signed-off-by: Greg Kroah-Hartman -
This fixes "No space is necessary after a cast" messages from
checkpatch.plSigned-off-by: Bogicevic Sasa
Signed-off-by: Greg Kroah-Hartman -
PM domains shouldn't be modified after a device is probed, so set it
before device registration to be sure of that.In the future the PM domain pointer will be set through a setter that
will WARN if the device has been probed already.Signed-off-by: Tomeu Vizoso
Tested-by: Geert Uytterhoeven
Signed-off-by: Greg Kroah-Hartman -
Implement COMEDI asynchronous commands on the fake analog output
subdevice. This is useful for testing asynchronous commands in the
"write" direction when no real hardware is available.A normal kernel timer is used to drive the command. The new timer
expiry function `waveform_ao_timer()` handles whole "scans" at a time
according to the number of scan period that have elapsed since the last
scan. Data for each channel in the scan is written to the internal
loopback array `devpriv->ao_loopbacks[]` and can be read back on the
analog input channels. However, if several scan periods are outstanding
in the timer expiry function, only the latest available scan data is
written to the loopback array in order to save processing time. The
expiry function also checks for underrun conditions, and checks for
normal termination of the asynchronous command when a "stop" scan count
is reached.After the command is tested by `waveform_ao_cmdtest()` and set up by
`waveform_ao_cmd()`, it is not started until an internal trigger
function `waveform_ao_inttrig_start()` is called as a result of the user
performing an `INSN_INTTRIG` instruction on the subdevice. The command
is stopped when the "cancel" handler `waveform_ao_cancel()` is called.
This may be due to the command terminating due to completion or an
error, or as a result of the user cancelling the command.Signed-off-by: Ian Abbott
Reviewed-by: H Hartley Sweeten
Signed-off-by: Greg Kroah-Hartman -
`waveform_ai_interrupt()` is a timer expiry function used to generate
fake waveform data for an analog input subdevice. Rename it to
`waveform_ai_timer()`.Signed-off-by: Ian Abbott
Reviewed-by: H Hartley Sweeten
Signed-off-by: Greg Kroah-Hartman -
For asynchronous command handling on the analog input subdevice, a
kernel timer routine is used to generate the fake waveform data. A
"scan" consists of a number of conversions separated in time by a
conversion period. Successive scans are separated in time by a scan
period, which is at least the conversion period multiplied by the number
of conversions per scan. Currently, the timer routine does not generate
any data until the end of a scan period, generating whole scans of data
at a time. Change it to generate data at the end of each conversion
period, with an extra delay after the final conversion in each scan if
necessary. Use new member `ai_convert_time` in the private data
structure `struct waveform_private` to keep track of when the next
conversion is due. This replaces the old member `ai_last_scan_time`
which kept track of the time of the previous scan.Signed-off-by: Ian Abbott
Reviewed-by: H Hartley Sweeten
Signed-off-by: Greg Kroah-Hartman