mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[S390] rework of channel measurement facility.
Fixes for several channel measurement facility bugs: * Blocks copied from the hardware might not be consistent. Solve this by moving the copying into idle state and repeating the copying. * avg_sample_interval changed with every read, even though no new block was available. Solve this by storing a timestamp when the last new block was received. * Several locking issues. * Measurements were not reenabled after a disconnected device became available again. * Remove #defines for ioctls that were never implemented. Signed-off-by: Cornelia Huck <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
5b5dd21a8e
commit
94bb063312
4 changed files with 468 additions and 181 deletions
|
|
@ -44,10 +44,6 @@ struct cmbdata {
|
|||
#define BIODASDCMFENABLE _IO(DASD_IOCTL_LETTER,32)
|
||||
/* enable channel measurement */
|
||||
#define BIODASDCMFDISABLE _IO(DASD_IOCTL_LETTER,33)
|
||||
/* reset channel measurement block */
|
||||
#define BIODASDRESETCMB _IO(DASD_IOCTL_LETTER,34)
|
||||
/* read channel measurement data */
|
||||
#define BIODASDREADCMB _IOWR(DASD_IOCTL_LETTER,32,__u64)
|
||||
/* read channel measurement data */
|
||||
#define BIODASDREADALLCMB _IOWR(DASD_IOCTL_LETTER,33,struct cmbdata)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue