Merge tag 'v4.13-rc4' into patchwork
Linux 4.13-rc4 * tag 'v4.13-rc4': (863 commits) Linux 4.13-rc4 Fix compat_sys_sigpending breakage ext4: fix copy paste error in ext4_swap_extents() ext4: fix overflow caused by missing cast in ext4_resize_fs() ext4, project: expand inode extra size if possible ext4: cleanup ext4_expand_extra_isize_ea() ext4: restructure ext4_expand_extra_isize ext4: fix forgetten xattr lock protection in ext4_expand_extra_isize ext4: make xattr inode reads faster ext4: inplace xattr block update fails to deduplicate blocks ext4: remove unused mode parameter ext4: fix warning about stack corruption ext4: fix dir_nlink behaviour ext4: silence array overflow warning ext4: fix SEEK_HOLE/SEEK_DATA for blocksize < pagesize platform/x86: intel-vbtn: match power button on press rather than release ext4: release discard bio after sending discard commands sparc64: Fix exception handling in UltraSPARC-III memcpy. arm64: avoid overflow in VA_START and PAGE_OFFSET arm64: Fix potential race with hardware DBM in ptep_set_access_flags() ...
This commit is contained in:
@@ -57,6 +57,7 @@ void cec_notifier_put(struct cec_notifier *n);
|
||||
* @pa: the CEC physical address
|
||||
*
|
||||
* Set a new CEC physical address.
|
||||
* Does nothing if @n == NULL.
|
||||
*/
|
||||
void cec_notifier_set_phys_addr(struct cec_notifier *n, u16 pa);
|
||||
|
||||
@@ -66,6 +67,7 @@ void cec_notifier_set_phys_addr(struct cec_notifier *n, u16 pa);
|
||||
* @edid: the struct edid pointer
|
||||
*
|
||||
* Parses the EDID to obtain the new CEC physical address and set it.
|
||||
* Does nothing if @n == NULL.
|
||||
*/
|
||||
void cec_notifier_set_phys_addr_from_edid(struct cec_notifier *n,
|
||||
const struct edid *edid);
|
||||
@@ -130,4 +132,17 @@ static inline void cec_register_cec_notifier(struct cec_adapter *adap,
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* cec_notifier_phys_addr_invalidate() - set the physical address to INVALID
|
||||
*
|
||||
* @n: the CEC notifier
|
||||
*
|
||||
* This is a simple helper function to invalidate the physical
|
||||
* address. Does nothing if @n == NULL.
|
||||
*/
|
||||
static inline void cec_notifier_phys_addr_invalidate(struct cec_notifier *n)
|
||||
{
|
||||
cec_notifier_set_phys_addr(n, CEC_PHYS_ADDR_INVALID);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user